Motifs.py -¶
- Tags
Python
Code¶
-
Motifs.countMotifs(infile, motifs)¶ find regular expression motifs in sequences within fasta formatted infile.
-
Motifs.getCounts(matches)¶ count numbers of motifs.
-
Motifs.getOccurances(matches)¶ count numbers of motifs, but only once per sequence
-
Motifs.iupac2regex(pattern)¶ convert iupac to regex pattern
-
Motifs.regex2iupac(pattern)¶ convert regex to iupac pattern