I see!
A Blog for things related to Linux, Python, R, Shell scripting, bioinformatics, etc.
2014-04-23
Compilation of useful commands when dealing with large text files, such as fasta files
# Get line nr. XY from a file in a fast way via sed
sed -n '99999p' myfile.fasta
# Get number of sequences in a fasta file
grep -c '>' myfile.fasta
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment