diff --git a/tools/fastp/fastp.xml b/tools/fastp/fastp.xml index 211c9a6a9a5..f9fbcada83c 100644 --- a/tools/fastp/fastp.xml +++ b/tools/fastp/fastp.xml @@ -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 @@ fastp --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 @@ $read_mod_options.base_correction_options.correction 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 @@ $read_mod_options.base_correction_options.correction - + @@ -379,10 +335,10 @@ $read_mod_options.base_correction_options.correction - + 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 @@ $read_mod_options.base_correction_options.correction 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 @@ afford high performance. **Inputs** -Single-end or Paired-end (compressed) fastqsagnger or fastqillumina files +Single-end or Paired-end (compressed) fastqsanger files ----- @@ -688,4 +649,4 @@ Optionally, under **Output Options** you can choose to output 10.1101/274100 - + \ No newline at end of file diff --git a/tools/fastp/macros.xml b/tools/fastp/macros.xml index 7da2b84e750..bc7ce3e4bfb 100644 --- a/tools/fastp/macros.xml +++ b/tools/fastp/macros.xml @@ -61,11 +61,28 @@ - + - + + + + + + + + + + + + + + + + \ No newline at end of file