Mercurial > repos > iuc > sickle
diff sickle.xml @ 6:6756c87dc2d4 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sickle commit 7f0dbcf650d20acd80d7082bdae9759d51a1480c"
author | iuc |
---|---|
date | Thu, 05 Sep 2019 13:14:23 -0400 |
parents | 3905ccd5c631 |
children |
line wrap: on
line diff
--- a/sickle.xml Thu Apr 13 16:06:10 2017 -0400 +++ b/sickle.xml Thu Sep 05 13:14:23 2019 -0400 @@ -1,129 +1,126 @@ -<tool id="sickle" name="Sickle" version="1.33.1" profile="17.01"> +<tool id="sickle" name="Sickle" version="1.33.2" profile="17.01"> <description>windowed adaptive trimming of FASTQ data</description> <requirements> - <requirement type="package" version="1.33">sickle</requirement> - <!-- conda dependency --> <requirement type="package" version="1.33">sickle-trim</requirement> </requirements> <version_command>sickle --version | head -n 1</version_command> <command><![CDATA[ - ## Link in the input files, which also determines the type of the output - #set compressed = "" - #if str($readtype.single_or_paired) == "se": - #if $readtype.input_single.is_of_type('fastq.gz'): - #set read1 = "input_1.fastq.gz" - #set compressed = "-g" - #else - #set read1 = "input_1.fastq" - #end if - ln -f -s '${readtype.input_single}' ${read1} && - #else if str($readtype.single_or_paired) == "pe_combo": - #if $readtype.input_combo.is_of_type('fastq.gz'): - #set read1 = "input_1.fastq.gz" - #set compressed = "-g" - #else - #set read1 = "input_1.fastq" - #end if - ln -f -s '${readtype.input_combo}' ${read1} && - #else if str($readtype.single_or_paired) == "pe_sep": - #if $readtype.input_paired1.is_of_type('fastq.gz'): - #set read1 = "input_1.fastq.gz" - #set compressed = "-g" - #else - #set read1 = "input_1.fastq" - #end if - ln -f -s '${readtype.input_paired1}' ${read1} && +## Link in the input files, which also determines the type of the output +#set compressed = "" +#if str($readtype.single_or_paired) == "se": + #if $readtype.input_single.is_of_type('fastq.gz'): + #set read1 = "input_1.fastq.gz" + #set compressed = "-g" + #else + #set read1 = "input_1.fastq" + #end if + ln -f -s '${readtype.input_single}' ${read1} && +#else if str($readtype.single_or_paired) == "pe_combo": + #if $readtype.input_combo.is_of_type('fastq.gz'): + #set read1 = "input_1.fastq.gz" + #set compressed = "-g" + #else + #set read1 = "input_1.fastq" + #end if + ln -f -s '${readtype.input_combo}' ${read1} && +#else if str($readtype.single_or_paired) == "pe_sep": + #if $readtype.input_paired1.is_of_type('fastq.gz'): + #set read1 = "input_1.fastq.gz" + #set compressed = "-g" + #else + #set read1 = "input_1.fastq" + #end if + ln -f -s '${readtype.input_paired1}' ${read1} && - #if $readtype.input_paired2.is_of_type('fastq.gz'): - #set read2 = "input_2.fastq.gz" - #else - #set read2 = "input_2.fastq" - #end if - ln -f -s '${readtype.input_paired2}' ${read2} && - #else - #if $readtype.input_paired.forward.is_of_type('fastq.gz'): - #set read1 = "input_1.fastq.gz" - #set compressed = "-g" - #else - #set read1 = "input_1.fastq" - #end if - ln -f -s '${readtype.input_paired.forward}' ${read1} && + #if $readtype.input_paired2.is_of_type('fastq.gz'): + #set read2 = "input_2.fastq.gz" + #else + #set read2 = "input_2.fastq" + #end if + ln -f -s '${readtype.input_paired2}' ${read2} && +#else + #if $readtype.input_paired.forward.is_of_type('fastq.gz'): + #set read1 = "input_1.fastq.gz" + #set compressed = "-g" + #else + #set read1 = "input_1.fastq" + #end if + ln -f -s '${readtype.input_paired.forward}' ${read1} && - #if $readtype.input_paired.reverse.is_of_type('fastq.gz'): - #set read2 = "input_2.fastq.gz" - #else - #set read2 = "input_2.fastq" - #end if - ln -f -s '${readtype.input_paired.reverse}' ${read2} && - #end if + #if $readtype.input_paired.reverse.is_of_type('fastq.gz'): + #set read2 = "input_2.fastq.gz" + #else + #set read2 = "input_2.fastq" + #end if + ln -f -s '${readtype.input_paired.reverse}' ${read2} && +#end if - sickle +sickle - #if str($readtype.single_or_paired) == "se": - se -f ${read1} -o '${output_single}' +#if str($readtype.single_or_paired) == "se": + se -f ${read1} -o '${output_single}' - #if $readtype.input_single.is_of_type('fastqillumina', 'fastqillumina.gz'): - -t illumina - #else if $readtype.input_single.is_of_type('fastqsolexa', 'fastqsolexa.gz'): - -t solexa - #else: - -t sanger - #end if - #else if str($readtype.single_or_paired) == "pe_combo": - #if $readtype.output_n: - pe -c ${read1} -M '${output_combo}' - #else - pe -c ${read1} -m '${output_combo}' -s '${output_combo_single}' - #end if + #if $readtype.input_single.is_of_type('fastqillumina', 'fastqillumina.gz'): + -t illumina + #else if $readtype.input_single.is_of_type('fastqsolexa', 'fastqsolexa.gz'): + -t solexa + #else: + -t sanger + #end if +#else if str($readtype.single_or_paired) == "pe_combo": + #if $readtype.output_n: + pe -c ${read1} -M '${output_combo}' + #else + pe -c ${read1} -m '${output_combo}' -s '${output_combo_single}' + #end if - #if $readtype.input_combo.is_of_type('fastqillumina', 'fastqillumina.gz'): - -t illumina - #else if $readtype.input_combo.is_of_type('fastqsolexa', 'fastqsolexa.gz'): - -t solexa - #else: - -t sanger - #end if - #else if str($readtype.single_or_paired) == "pe_sep": - pe -f ${read1} -r ${read2} -o '${output_paired1}' -p '${output_paired2}' -s '${output_paired_single}' + #if $readtype.input_combo.is_of_type('fastqillumina', 'fastqillumina.gz'): + -t illumina + #else if $readtype.input_combo.is_of_type('fastqsolexa', 'fastqsolexa.gz'): + -t solexa + #else: + -t sanger + #end if +#else if str($readtype.single_or_paired) == "pe_sep": + pe -f ${read1} -r ${read2} -o '${output_paired1}' -p '${output_paired2}' -s '${output_paired_single}' - #if $readtype.input_paired1.is_of_type('fastqillumina', 'fastqillumina.gz'): - -t illumina - #else if $readtype.input_paired1.is_of_type('fastqsolexa', 'fastqsolexa.gz'): - -t solexa - #else: - -t sanger - #end if - #else if str($readtype.single_or_paired) == "pe_collection": - pe -f ${read1} -r ${read2} -o '${output_paired_coll.forward}' -p '${output_paired_coll.reverse}' -s '${output_paired_coll_single}' + #if $readtype.input_paired1.is_of_type('fastqillumina', 'fastqillumina.gz'): + -t illumina + #else if $readtype.input_paired1.is_of_type('fastqsolexa', 'fastqsolexa.gz'): + -t solexa + #else: + -t sanger + #end if +#else if str($readtype.single_or_paired) == "pe_collection": + pe -f ${read1} -r ${read2} -o '${output_paired_coll.forward}' -p '${output_paired_coll.reverse}' -s '${output_paired_coll_single}' - #if $readtype.input_paired.forward.is_of_type('fastqillumina', 'fastqillumina.gz'): - -t illumina - #else if $readtype.input_paired.forward.is_of_type('fastqsolexa', 'fastqsolexa.gz'): - -t solexa - #else: - -t sanger - #end if - #end if + #if $readtype.input_paired.forward.is_of_type('fastqillumina', 'fastqillumina.gz'): + -t illumina + #else if $readtype.input_paired.forward.is_of_type('fastqsolexa', 'fastqsolexa.gz'): + -t solexa + #else: + -t sanger + #end if +#end if - $compressed +$compressed - #if str($qual_threshold) != "": - -q $qual_threshold - #end if - - #if str($length_threshold) != "": - -l $length_threshold - #end if +#if str($qual_threshold) != "": + -q $qual_threshold +#end if - #if $no_five_prime: - -x - #end if +#if str($length_threshold) != "": + -l $length_threshold +#end if - #if $trunc_n: - -n - #end if - ]]> - </command> +#if $no_five_prime: + -x +#end if + +#if $trunc_n: + -n +#end if + ]]></command> <inputs> <conditional name="readtype"> @@ -350,8 +347,6 @@ Copyright: Nikhil Joshi -http://bioinformatics.ucdavis.edu - http://github.com/najoshi/sickle </help> <citations>