Created
February 13, 2012 09:38
-
-
Save fstrozzi/1815501 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Trim | |
include Bio::Command::Wrapper | |
set_program Bio::Ngs::Utils.binary("fastx_trimmer") | |
use_aliases | |
add_option :first_base, :type => :numeric, :aliases => "-f", :desc => "First base to keep" | |
add_option :last_base, :type => :numeric, :aliases => "-l", :desc => "Last base to keep" | |
add_option :compress, :type => :boolean, :aliases => "-z", :desc => "Compress output with GZIP" | |
add_option :input, :type => :string, :aliases => "-i", :desc => "Input FASTA/Q file", :collapse => true | |
add_option :output, :type => :string, :aliases => "-o", :desc => "Output FASTA/Q file", :collapse => true | |
add_option :trim, :type => :numeric, :aliases => "-t", :desc => "Trim N nucleotides from the end of the read" | |
add_option :quality_type, :type=>:numeric, :default => 33, :aliases => "-Q", :desc=>"Quality of fastq file" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment