Go to file
Harrison Deng 1b08cee027
All checks were successful
ydeng/filterfasta/pipeline/head This commit looks good
Bumped version number
2023-07-25 15:56:35 +00:00
.vscode Restructured code and renamed project 2023-04-21 12:16:29 -05:00
filterfasta Refactored code structure and added steps to CI 2023-04-24 09:45:47 -05:00
.gitignore Restructured code and renamed project 2023-04-21 12:16:29 -05:00
environment.yml Updated pipeline to take advantage of new build container image 2023-05-03 08:34:50 -05:00
Jenkinsfile Updated pipeline to take advantage of new build container image 2023-05-03 08:34:50 -05:00
pyproject.toml Added all resources required for a Jenkins pipeline 2023-04-21 12:21:41 -05:00
README.md Update 'README.md' 2023-03-10 15:46:33 -06:00
requirements.txt Fixed "all" property check. 2023-03-10 16:28:03 -06:00
setup.cfg Bumped version number 2023-07-25 15:56:35 +00:00
setup.py Added all resources required for a Jenkins pipeline 2023-04-21 12:21:41 -05:00
tox.ini Restructured code and renamed project 2023-04-21 12:16:29 -05:00

Fasta Filter

A simple program to remove sequences in a fasta file containing specific strings.

Usage

  1. Install python3.

  2. Run pip install -r ./requirements.txt if biopython is not installed. If installed, skip to step 2.

  3. Run ./fasta_filter.py -h if on Linux, or on Windows python3 ./fasta_filter -h. See help for more information.

Example Usage

  1. Pretend input.fasta exists in the same folder as fasta_filter.py (the program file).

  2. To remove all sequences in input.fasta that contain rt in the header and output to a new file called input_filtered.fasta, run: python3 ./fasta_filter.py input.fasta input_filtered.fasta -c rt