https://github.com/alexcoppe/number_of_fasta_seqs
:pill: A program to count the number of sequences in a FASTA file
https://github.com/alexcoppe/number_of_fasta_seqs
bioinformatics c fasta
Last synced: 6 days ago
JSON representation
:pill: A program to count the number of sequences in a FASTA file
- Host: GitHub
- URL: https://github.com/alexcoppe/number_of_fasta_seqs
- Owner: alexcoppe
- License: mit
- Created: 2019-07-30T21:28:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-28T21:47:40.000Z (over 5 years ago)
- Last Synced: 2025-02-17T09:35:29.191Z (3 months ago)
- Topics: bioinformatics, c, fasta
- Language: C
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# number_of_fasta_seqs
#### :pill: A program to count the number of sequences in a FASTA file### Compiling the software
Download the software from [github](https://github.com/alexcoppe/number_of_fasta_seqs), enter the directory containg number_of_fasta_seqs.c and compile it with:
```
make
```### Getting help
To obtain the usage help just launch the program with the -h option:
```
./number_of_fasta_seqs -h
Usage: number_of_fasta_seqs [OPTION]... FASTA_FILE.
-d show only description lines
-h show help options
```### Counting the number of sequences in a FASTA file
To obtain the number of sequences in a FASTA file:
```
./number_of_fasta_seqs sequences.fasta
3
```### Obtaining description lines
To get the description lines from a FASTA file use the -d option:
```
./number_of_fasta_seqs -d sequences.fasta
>ENST00000269305.8 (TP53) length=393
>ENST00000345146.6 (IDH1) length=414
>ENST00000376701.4 (WAS) length=502
```