-
Notifications
You must be signed in to change notification settings - Fork 0
find seq
masikol edited this page Oct 18, 2022
·
3 revisions
Script finds fasta record(s) in *.fasta(.gz)
or *.fa(.gz)
file by given sequence header
and prints found record(s) to stdout.
The script is written in Python, so you need Python interpreter (version 3.X) to use it. Here you can download Python.
-h (--help): print help message;
-v (--version): print version;
To find all fasta records in file some_seqs.fasta
whose headers contain string length_114
, you should run:
python3 find-seq.py length_114 some_seqs.fasta