Script to search location of motifs in fasta files.
python motif-search-v2.py [OPTIONS]| Short | Option | Type | Default | Description |
|---|---|---|---|---|
-h |
--help |
show this help message and exit | ||
-i |
--inp |
path | Required | Input fasta file |
-m |
--motif |
string | Required | Motif to be searched |
-p |
--relax_perc |
float | 100 | Relaxed percentage similarity |
-o |
--out |
path | motif_result.txt | Output file |
Refactoring code for better readability, adding fixes and features.
- Changing genome variable to list instead of string.
- Option to define output file.
- Changing code structure for better readability.
- Added argparse instead of input.
- Motif search on complementary strand.
- Search motif on multiple chromosomes.
- Option to include gaps.
- Option to include bedfile with selected regions for motif search.
- Multiple motif searches.
- Levenshtein distance scoring.
A simple motif search code that I wrote during my introduction to computational biology during my master's