# HG changeset patch # User iuc # Date 1533944407 14400 # Node ID 3e2551a37201cb281f39d31260969446442a1971 # Parent 7c82cb2a90c4a5653730a06fb747d1383f69f6f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498 diff -r 7c82cb2a90c4 -r 3e2551a37201 fastp.xml --- a/fastp.xml Wed Aug 08 08:49:26 2018 -0400 +++ b/fastp.xml Fri Aug 10 19:40:07 2018 -0400 @@ -1,4 +1,4 @@ - + - fast all-in-one preprocessing for FASTQ files macros.xml @@ -12,18 +12,32 @@ ## Link input files -#if $in1.is_of_type('fastq.gz') - #set ext = '.fastq.gz' -#else - #set ext = '.fastq' -#end if +#set ext = '.fastq' -#set $in1_name = re.sub('[^\w\-\s]', '_', str($in1.element_identifier)) + $ext -ln -s '$in1' $in1_name && +#if $single_paired.single_paired_selector == 'paired_collection': + #if $single_paired.paired_input.forward.is_of_type('fastq.gz'): + #set ext = '.fastq.gz' + #end if + #set $in1 = $single_paired.paired_input.forward + #set $in2 = $single_paired.paired_input.reverse + #set $in1_name = re.sub('[^\w\-\s]', '_', str($single_paired.paired_input.name)) + $ext + #set $in2_name = re.sub('[^\w\-\s]', '_', str("%s_%s" % ($single_paired.paired_input.name, "R2"))) + $ext + #set out1 = $output_paired_coll.forward + #set out2 = $output_paired_coll.reverse + ln -s '$in1' '$in1_name' && + ln -s '$in2' '$in2_name' && +#else + #if $in1.is_of_type('fastq.gz') + #set ext = '.fastq.gz' + #end if -#if str($single_paired.single_paired_selector) == 'paired': - #set $in2_name = re.sub('[^\w\-\s]', '_', str($in2.element_identifier)) + $ext - ln -s '$in2' $in2_name && + #set $in1_name = re.sub('[^\w\-\s]', '_', str($in1.element_identifier)) + $ext + ln -s '$in1' '$in1_name' && + + #if str($single_paired.single_paired_selector) == 'paired': + #set $in2_name = re.sub('[^\w\-\s]', '_', str("%s_R2" % $in2.element_identifier)) + $ext + ln -s '$in2' '$in2_name' && + #end if #end if @@ -38,11 +52,11 @@ --phred64 #end if --i $in1_name +-i '$in1_name' -o first${ext} -#if str($single_paired.single_paired_selector) == 'paired': - -I $in2_name +#if str($single_paired.single_paired_selector).startswith('paired'): + -I '$in2_name' -O second${ext} #end if @@ -55,7 +69,7 @@ --adapter_sequence '$single_paired.adapter_trimming_options.adapter_sequence1' #end if -#if str($single_paired.single_paired_selector) == 'paired': +#if str($single_paired.single_paired_selector).startswith('paired'): #if str($single_paired.adapter_trimming_options.adapter_sequence2): --adapter_sequence_r2 '$single_paired.adapter_trimming_options.adapter_sequence2' #end if @@ -72,7 +86,7 @@ -t $single_paired.global_trimming_options.trim_tail1 #end if -#if str($single_paired.single_paired_selector) == 'paired': +#if str($single_paired.single_paired_selector).startswith('paired'): #if str($single_paired.global_trimming_options.trim_front2): -F $single_paired.global_trimming_options.trim_front2 #end if @@ -183,7 +197,7 @@ && mv first${ext} '${out1}' -#if str($single_paired.single_paired_selector) == 'paired': +#if str($single_paired.single_paired_selector).startswith('paired'): && mv second${ext} '${out2}' #end if @@ -194,41 +208,27 @@ + - -
- - -
-
- - -
+ + +
- - -
- - - - - - - - - - - - -
-
- - - - -
+ + + + + + +
+ + + + + + @@ -312,10 +312,15 @@ - + + single_paired['single_paired_selector'] in ["single", "paired"] + single_paired['single_paired_selector'] == "paired" + + single_paired['single_paired_selector'] == "paired_collection" + output_options['report_html'] is True @@ -336,6 +341,25 @@ + + + + + + + + + + + + + + + + + + + diff -r 7c82cb2a90c4 -r 3e2551a37201 macros.xml --- a/macros.xml Wed Aug 08 08:49:26 2018 -0400 +++ b/macros.xml Fri Aug 10 19:40:07 2018 -0400 @@ -1,9 +1,35 @@ 0.19.3 - - + +
+ + + +
+
+ + +
+
+ + +
+ + + +
+
+ + + + + + + + + + @@ -14,9 +40,11 @@ - - + + + +