Useful scripts and commands

Bash / shell

Convert gff to gtf (requires cufflinks tool to be installed):

$ gffread something.gff -T -o something.gtf  


Extract columns from a tsv file (requires using column numbers instead of names for $ awk ; or pip install csvkit for names method):

$ awk '{print $1,$2}' something.tsv > something_else.tsv

$ csvcut -t -c 'id,age' something.tsv | csvformat -T > something_else.tsv