Command line
- My file of reads is 12 gigabytes! It won't open in Word!
less lane1.fastq
- But it's compressed and I don't have space to uncompress it!
zcat lane1.fastq.gz | less
- How many sequences are there in this Fasta file?
cat Assembly1.fasta | grep ">" | wc -l
- Print rows where column 3 is larger than column 5 in file.txt
awk '$3>$5' file.txt
- More examples
Bioinformatics one-liners