FastX Toolkit

FastX Toolkit is a collection of command line tools for short-reads file processing.

Available tools

  • FASTQ-to-FASTA converter;
  • FASTQ Information;
  • FASTQ/A Trimmer;
  • FASTQ/A Reverse-Complement;
  • FASTQ Quality Filter;
  • Many others…

Website:
http://hannonlab.cshl.edu/fastx_toolkit

Installation

sudo apt-get install fastx-toolkit

Commands:


#convert FASTq to FASTA file
fastq_to_fasta -i file.fq -o filename.fasta

#calculate statistics for original data
fastx_quality_stats -i file.fq -o file.stats   #calculates
fastq_quality_boxplot_graph.sh -i file.stats -o file.png  #creates graphs

#trim
fastx_trimmer -f 1 -l 100 -i file.fq -o file.trimmed   

#[-f] = First base to keep. Default is 1 (=first base).
#[-l] = Last base to keep. Default is entire read.


#filter low quality score reads
fastq_quality_filter -q 20 -p 80 -i file.trimmed -o file.filtered

#[-q] = Minimum quality score to keep
#[-p] = Minimum percent of bases that must have [-q] quality


This entry was posted in Local Tools. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s