# HG changeset patch # User iuc # Date 1731684713 0 # Node ID a626e8c0e1bad53f9a863a53625149223fc65999 # Parent ecb9f4854617ed90e8d7461b15fa057cf308fb42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 17a0a67dfbc7541a7fe3618cfbbb71d814042889 diff -r ecb9f4854617 -r a626e8c0e1ba fastp.xml --- a/fastp.xml Mon Nov 11 14:53:41 2024 +0000 +++ b/fastp.xml Fri Nov 15 15:31:53 2024 +0000 @@ -1,4 +1,4 @@ - + fast all-in-one preprocessing for FASTQ files macros.xml @@ -18,8 +18,6 @@ #if $single_paired.single_paired_selector == 'paired_collection' #if $single_paired.paired_input.forward.is_of_type('fastqsanger.gz') #set ext = '.fastqsanger.gz' - #elif $single_paired.paired_input.forward.is_of_type('fastqillumina.gz') - #set ext = '.fastqillumina.gz' #end if #set $in1 = $single_paired.paired_input.forward #set $in2 = $single_paired.paired_input.reverse @@ -32,8 +30,6 @@ #else #if $in1.is_of_type('fastqsanger.gz') #set ext = '.fastqsanger.gz' - #elif $in1.is_of_type('fastqillumina.gz') - #set ext = '.fastqillumina.gz' #end if #set $in1_name = re.sub('[^\w\-\s]', '_', str($in1.element_identifier)) + $ext @@ -45,8 +41,6 @@ #end if #end if -cp '$c1' galaxy.json && - ## Run fastp fastp @@ -54,10 +48,6 @@ --thread \${GALAXY_SLOTS:-1} --report_title 'fastp report for $in1_name' -#if $in1.is_of_type('fastqillumina', 'fastqsolexa', 'fastqillumina.gz', 'fastqsolexa.gz'): - --phred64 -#end if - -i '$in1_name' ## Merge reads @@ -231,40 +221,6 @@ mv second${ext} '${out2}' #end if ]]> - - - #set $ext1 = "fastqsanger" - #set $ext2 = "fastqsanger" - #if str($single_paired.single_paired_selector) == "single" - #if $in1.ext.endswith("gz") - #set $ext1 = "fastqsanger.gz" - #end if - #elif str($single_paired.single_paired_selector) == "paired" - #if $in1.ext.endswith("gz") - #set $ext1 = "fastqsanger.gz" - #end if - #if $in2.ext.endswith("gz") - #set $ext2 = "fastqsanger.gz" - #end if - #else - #if $paired_input.forward.ext.endswith("gz") - #set $ext1 = "fastqsanger.gz" - #end if - #if $paired_input.reverse.ext.endswith("gz") - #set $ext2 = "fastqsanger.gz" - #end if - #end if - { - "out1": {"ext": "$ext1"}, - "out2": {"ext": "$ext2"}, - "merged_reads": {"ext": "$ext1"}, - "unmerged_out1": {"ext": "$ext1"}, - "unmerged_out2": {"ext": "$ext2"}, - "unpaired1": {"ext": "$ext1"}, - "unpaired2": {"ext": "$ext2"} - } - - @@ -288,7 +244,7 @@ - + @@ -379,10 +335,10 @@ - + single_paired['single_paired_selector'] in ["single", "paired"] and not single_paired['merge_reads']['merge'] - + single_paired['single_paired_selector'] == "paired" and not single_paired['merge_reads']['merge'] @@ -394,20 +350,25 @@ output_options['report_json'] is True - + single_paired['single_paired_selector'] in ["paired", "paired_collection"] and single_paired['merge_reads']['merge'] + - + single_paired['single_paired_selector'] in ["paired", "paired_collection"] and single_paired['merge_reads']['merge'] and not single_paired['merge_reads']['include_unmerged'] + - + single_paired['single_paired_selector'] in ["paired", "paired_collection"] and single_paired['merge_reads']['merge'] and not single_paired['merge_reads']['include_unmerged'] + - + single_paired['single_paired_selector'] in ["paired", "paired_collection"] and single_paired['merge_reads']['merge'] and not single_paired['merge_reads']['include_unmerged'] + - + single_paired['single_paired_selector'] in ["paired", "paired_collection"] and single_paired['merge_reads']['merge'] and not single_paired['merge_reads']['include_unmerged'] + @@ -664,7 +625,7 @@ **Inputs** -Single-end or Paired-end (compressed) fastqsagnger or fastqillumina files +Single-end or Paired-end (compressed) fastqsanger files ----- @@ -688,4 +649,4 @@ 10.1101/274100 - + \ No newline at end of file diff -r ecb9f4854617 -r a626e8c0e1ba macros.xml --- a/macros.xml Mon Nov 11 14:53:41 2024 +0000 +++ b/macros.xml Fri Nov 15 15:31:53 2024 +0000 @@ -61,11 +61,28 @@ - + - + + + + + + + + + + + + + + + + \ No newline at end of file