Helpful bash ‘one’-liners
Transforming fastq to fasta format
sed -n '1~4s/^@/>/p;2~4p' in.fastq > out.fasta
Delteing Files older than XXX days (e.g. five days)
find /path/to/files* -mtime +5 -exec rm {} \;
Transforming fastq to fasta format
sed -n '1~4s/^@/>/p;2~4p' in.fastq > out.fasta
Delteing Files older than XXX days (e.g. five days)
find /path/to/files* -mtime +5 -exec rm {} \;