https://github.com/abhijeetsingh1704/filterbylength
Filter fasta sequences by length
https://github.com/abhijeetsingh1704/filterbylength
amino-acid-sequence fasta-sequences filtering length nucleotide-sequence
Last synced: 7 months ago
JSON representation
Filter fasta sequences by length
- Host: GitHub
- URL: https://github.com/abhijeetsingh1704/filterbylength
- Owner: abhijeetsingh1704
- License: mit
- Created: 2021-04-18T13:39:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-27T18:28:35.000Z (almost 3 years ago)
- Last Synced: 2025-01-26T12:09:48.745Z (9 months ago)
- Topics: amino-acid-sequence, fasta-sequences, filtering, length, nucleotide-sequence
- Language: Python
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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

## 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