countDNAPattern count the number of DNA pattern for each transcript, and concatenate the numbers with ";"
countDNAPattern(variantsTable, seqTable, dnaPattern, transcriptIdCol)variants table
sequences table containing two columns: ensembl_transcript_id and seq. seq is the sequence of the variantType region: e.g. 5' UTR sequence or 3' UTR sequence. The seqTable is output from function getSeqTable.
the string pattern that you want to count, for example "ATG"
the ensemble transcript id column
a list containing values for number of DNA pattern. Can be used to add new column to the variants table.