# HG changeset patch # User iuc # Date 1554745762 14400 # Node ID e4691e1589d3c466672ce19de71c5324a25a3e23 # Parent 49370cb85f0ff8a78499dbffdad32451292e7263 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 59d42345d86e33e01aa50013f00f4dc0612d3de8 diff -r 49370cb85f0f -r e4691e1589d3 cutadapt.xml --- a/cutadapt.xml Tue Dec 18 14:09:53 2018 -0500 +++ b/cutadapt.xml Mon Apr 08 13:49:22 2019 -0400 @@ -1,4 +1,4 @@ - + Remove adapter sequences from Fastq/Fasta macros.xml @@ -35,34 +35,38 @@ #end if #if $input_1.is_of_type("fastq.gz", "fastqsanger.gz"): - #set read1 = $read1 + ".fq.gz" - #set out1 = "out1.gz" + #set ext = ".fq.gz" #else if $input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"): - #set read1 = $read1 + ".fq.bz2" - #set out1 = "out1.bz2" + #set ext = ".fq.bz2" #else if $input_1.is_of_type('fasta'): - #set read1 = $read1 + ".fa" - #set out1 = "out1.fa" + #set ext = ".fa" #else: - #set read1 = $read1 + ".fq" - #set out1 = "out1.fq" + #set ext = ".fq" #end if +#set read1 = $read1 + $ext +#set out1 = "out1" + $ext +#set rest_output = "rest_output" + $ext +#set wild_output = "wild_output" + $ext +#set too_short_output = "too_short_output" + $ext +#set too_long_output = "too_long_output" + $ext +#set untrimmed_output = "untrimmed_output" + $ext ln -f -s '${input_1}' '$read1' && #if $paired: #if $input_2.is_of_type("fastq.gz", "fastqsanger.gz"): - #set read2 = $read2 + ".fq.gz" - #set out2 = "out2.gz" + #set ext2 = ".fq.gz" #else if $input_2.is_of_type("fastq.bz2", "fastqsanger.bz2"): - #set read2 = $read2 + ".fq.bz2" - #set out2 = "out2.bz2" + #set ext2 = ".fq.gz" #else if $input_2.is_of_type('fasta'): - #set read2 = $read2 + ".fa" - #set out2 = "out2.fa" + #set ext2 = ".fa" #else: - #set read2 = $read2 + ".fq" - #set out2 = "out2.fq" + #set ext2 = ".fq" #end if + #set read2 = $read2 + $ext2 + #set out2 = "out2" + $ext2 + #set too_short_paired_output = "too_short_paired_output" + $ext2 + #set too_long_paired_output = "too_long_paired_output" + $ext2 + #set untrimmed_paired_output = "untrimmed_paired_output" + $ext2 ln -f -s '${input_2}' '$read2' && #end if @@ -252,40 +256,40 @@ (output_options['info_file'] is True) - + (output_options['rest_file'] is True) - + (output_options['wildcard_file'] is True) - + (output_options['untrimmed_file'] is True) - + (library['type'] == 'paired' or library['type'] == 'paired_collection') (output_options['untrimmed_file'] is True) - + (output_options['too_short_file'] is True) - + (library['type'] == 'paired' or library['type'] == 'paired_collection') (output_options['too_short_file'] is True) - + (output_options['too_long_file'] is True) - + (library['type'] == 'paired' or library['type'] == 'paired_collection') (output_options['too_long_file'] is True) @@ -463,6 +467,32 @@ + + + + + + + + + + + + + + + + + + + + + @@ -110,13 +110,13 @@ ## Additional Outputs - Read 2 #if $output_options.too_short_file: - --too-short-paired-output=$too_short_paired_output + --too-short-paired-output='${too_short_paired_output}' #end if #if $output_options.too_long_file: - --too-long-paired-output=$too_long_paired_output + --too-long-paired-output='${too_long_paired_output}' #end if #if $output_options.untrimmed_file: - --untrimmed-paired-output=$untrimmed_paired_output + --untrimmed-paired-output='${untrimmed_paired_output}' #end if ]]> diff -r 49370cb85f0f -r e4691e1589d3 test-data/cutadapt_trimmed.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_trimmed.out Mon Apr 08 13:49:22 2019 -0400 @@ -0,0 +1,4 @@ +@prefix:1_13_573/1 +CGTCCGAANTAGCTACCACCCTGATTAGAC ++ +)3%)&&&&!.1&(6:<'67..*,:75)'77 diff -r 49370cb85f0f -r e4691e1589d3 test-data/cutadapt_trimmed.out.gz Binary file test-data/cutadapt_trimmed.out.gz has changed diff -r 49370cb85f0f -r e4691e1589d3 test-data/cutadapt_untrimmed.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_untrimmed.out Mon Apr 08 13:49:22 2019 -0400 @@ -0,0 +1,8 @@ +@prefix:1_13_1259/1 +AGCCGCTANGACGGGTTGGCCCTTAGACGTATCT ++ +;<:&:A;A!9<<<,7:<=3=;:<&70<,=: diff -r 49370cb85f0f -r e4691e1589d3 test-data/cutadapt_untrimmed.out.gz Binary file test-data/cutadapt_untrimmed.out.gz has changed