Bioinformatics notes from a biologist
Home
Archive
26 July 2022
Recent Posts
Split fasta file into multiple files based on partial headers
Append file name at the end of each column for all CSV files
Add count to duplicated IDs in fasta file
Remove bases in between the sequences
Retain only unique values in the data
Links
Linkedin
Github
Sep 3, 2020 - One liners in bioinformatics (ever updating)
Read length of a fastq file using awk
$ awk 'NR%4==2 {print length}' input.fastq | sort -n | uniq -c | sort -rh | head -1
Newer Post
Older Post