# HG changeset patch # User iuc # Date 1665751814 0 # Node ID 135b80fb1ac28fb0f8d0a46313769d996026df55 # Parent 5915ea1ec9b1a340c9f074a17b7fa2deaff8bbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693 diff -r 5915ea1ec9b1 -r 135b80fb1ac2 cutadapt.xml --- a/cutadapt.xml Wed Jun 22 07:11:38 2022 +0000 +++ b/cutadapt.xml Fri Oct 14 12:50:14 2022 +0000 @@ -18,10 +18,16 @@ #set library_type = str($library.type) #if $library_type == 'paired': #set paired = True + #set input_1 = $library.input_1 + #set input_2 = $library.input_2 + ## Avoid the paired read input files sharing the same name, else the program still runs but + ## uses inaccurate results by using only 1 of 2 files. #set read1 = re.sub('[^\w\-\s]', '_', str($library.input_1.element_identifier)) #set read2 = re.sub('[^\w\-\s]', '_', str($library.input_2.element_identifier)) - #set input_1 = $library.input_1 - #set input_2 = $library.input_2 + #if read1 == read2: + #set read1 = read1 + "_1" + #set read2 = read2 + "_2" + #end if #else if $library_type == 'paired_collection' #set paired = True #set input_1 = $library.input_1.forward diff -r 5915ea1ec9b1 -r 135b80fb1ac2 macros.xml --- a/macros.xml Wed Jun 22 07:11:38 2022 +0000 +++ b/macros.xml Fri Oct 14 12:50:14 2022 +0000 @@ -1,6 +1,6 @@ 4.0 - 0 + 1 fastq.gz,fastq,fasta