Harrison
a6871214a4
All checks were successful
ydeng/filterfasta/pipeline/head This commit looks good
|
||
---|---|---|
.vscode | ||
filterfasta | ||
.gitignore | ||
environment.yml | ||
Jenkinsfile | ||
pyproject.toml | ||
README.md | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
tox.ini |
Fasta Filter
A simple program to remove sequences in a fasta file containing specific strings.
Usage
-
Install python3.
-
Run
pip install -r ./requirements.txt
ifbiopython
is not installed. If installed, skip to step 2. -
Run
./fasta_filter.py -h
if on Linux, or on Windowspython3 ./fasta_filter -h
. See help for more information.
Example Usage
-
Pretend
input.fasta
exists in the same folder asfasta_filter.py
(the program file). -
To remove all sequences in
input.fasta
that containrt
in the header and output to a new file calledinput_filtered.fasta
, run:python3 ./fasta_filter.py input.fasta input_filtered.fasta -c rt