# HG changeset patch # User iuc # Date 1711017989 0 # Node ID 944ae523bacb894e5c91abbc940d4df1d1f11982 # Parent 64172f1c1202306f9881a882c80d01c341402c1e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit 1973d7e076969910f753bf31adc0cdda2fc1530f diff -r 64172f1c1202 -r 944ae523bacb cutadapt.xml --- a/cutadapt.xml Thu Jan 04 18:44:12 2024 +0000 +++ b/cutadapt.xml Thu Mar 21 10:46:29 2024 +0000 @@ -39,7 +39,7 @@ #set read1 = re.sub('[^\w\-\s]', '_', str($library.input_1.element_identifier)) #end if -#if $input_1.is_of_type("fastq"): +#if $input_1.is_of_type("fastq", "fastq.gz", "fastq.bz2"): #set ext = ".fq" #else #set ext = ".fa" @@ -61,14 +61,15 @@ ln -f -s '${input_1}' '$read1' && #if $paired: - #if $input_2.is_of_type("fastq.gz", "fastqsanger.gz"): - #set ext2 = ".fq.gz" - #else if $input_2.is_of_type("fastq.bz2", "fastqsanger.bz2"): - #set ext2 = ".fq.gz" - #else if $input_2.is_of_type('fasta'): + #if $input_2.is_of_type("fastq", "fastq.gz", "fastq.bz2"): + #set ext2 = ".fq" + #else #set ext2 = ".fa" - #else: - #set ext2 = ".fq" + #end if + #if $input_2.ext.endswith(".gz"): + #set ext2=ext2+".gz" + #elif $input_2.ext.endswith(".bz2") + #set ext2=ext2+".bz2" #end if #set read2 = $read2 + $ext2 #set out2 = "out2" + $ext2 @@ -319,17 +320,17 @@ - + library['type'] != 'paired_collection' and 'multiple_output' not in output_selector - + library['type'] == 'paired' and 'multiple_output' not in output_selector - + library['type'] == 'paired_collection' and 'multiple_output' not in output_selector @@ -338,43 +339,43 @@ output_selector and 'report' in output_selector - + output_selector and 'info_file' in output_selector - + output_selector and 'rest_file' in output_selector - + output_selector and 'wildcard_file' in output_selector - + output_selector and 'untrimmed_file' in output_selector - + library['type'] == 'paired' or library['type'] == 'paired_collection' output_selector and 'untrimmed_file' in output_selector - + output_selector and 'too_short_file' in output_selector - + library['type'] == 'paired' or library['type'] == 'paired_collection' output_selector and 'too_short_file' in output_selector - + output_selector and 'too_long_file' in output_selector - + library['type'] == 'paired' or library['type'] == 'paired_collection' output_selector and 'too_long_file' in output_selector @@ -1333,9 +1334,9 @@ - + - + diff -r 64172f1c1202 -r 944ae523bacb macros.xml --- a/macros.xml Thu Jan 04 18:44:12 2024 +0000 +++ b/macros.xml Thu Mar 21 10:46:29 2024 +0000 @@ -1,6 +1,6 @@ - 4.6 - 1 + 4.7 + 0 fastq.bz2,fastq.gz,fastq,fasta.bz2,fasta.gz,fasta