Mercurial > repos > lparsons > cutadapt
diff cutadapt.xml @ 24:b55bb7e06429 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 7143af903be8405ca77d524b343e0973304be693
author | iuc |
---|---|
date | Fri, 14 Oct 2022 12:49:24 +0000 |
parents | d734212462ca |
children | 07bfd96c2c81 |
line wrap: on
line diff
--- a/cutadapt.xml Wed Jun 22 07:10:50 2022 +0000 +++ b/cutadapt.xml Fri Oct 14 12:49:24 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