Skip to content

abhijeetsingh1704/FilterByLength

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FilterByLength

Filter fasta sequences by length and count the sequences in a multifasta file

Usage

FilterByLength.py --input input_file.fa --output output_file.fa --length_min 100 --length_max 200 --verbose Y

Output

alt text

Help

usage: FilterByLength.py [-h] -l LENGTH_MIN [-m LENGTH_MAX] -i INPUT [-o OUTPUT] [-v Y/y or N/n] [-V]

Filter multifasta sequences by sequence length

optional arguments: 

-h, --help           	show this help message and exit
-l LENGTH_MIN, --length_min LENGTH_MIN
                     	minimum lenght of sequence to retain
-m LENGTH_MAX, --length_max LENGTH_MAX
                     	max lenght of sequence to retain 
-i INPUT, --input INPUT      
			input fasta file
-o OUTPUT, --output OUTPUT         
			output fasta file  
-v Y/y or N/n, --verbose Y/y or N/n     
			print progress to the terminal (default:verbose)  
-V, --version         	show program's version number and exit

Citation

Singh A. FilterByLength: Filter fasta sequences by length and count the sequences in a multifasta file. ResearchGate 2021. https://doi.org/10.13140/RG.2.2.10052.96643; Available at: https://github.com/abhijeetsingh1704/FilterByLength

Releases

No releases published

Packages

No packages published

Languages