# HG changeset patch # User iuc # Date 1684230340 0 # Node ID 611219887a48f7ae5aaac366544ca989d54d33ab # Parent 06bcf65179fbe2feae6b0d83dd9fc2a9b170419c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/getorganelle commit 00cf5ce77b828bd4cfb45df86a7334855c413497 diff -r 06bcf65179fb -r 611219887a48 get_organelle_from_reads.xml --- a/get_organelle_from_reads.xml Thu Feb 23 17:06:37 2023 +0000 +++ b/get_organelle_from_reads.xml Tue May 16 09:45:40 2023 +0000 @@ -1,4 +1,4 @@ - + macros.xml @@ -16,47 +16,47 @@ ## Link input files #import re #set ext = '.fastq' - #if str($fastq_input.fastq_input_selector) == 'single': + #if $fastq_input.fastq_input_selector == 'single': #if $fastq_input.fastq_input1.ext.endswith('.gz'): #set ext = '.fastq.gz' #end if #set $in1 = $fastq_input.fastq_input1 - #set $in1_name = re.sub('[^\w\-\.]', '_', str($fastq_input.fastq_input1.name)) + $ext + #set $in1_name = re.sub('[^\w\-\.]', '_', str($fastq_input.fastq_input1.element_identifier)) + $ext ln -s '$in1' '$in1_name' && - #else if str($fastq_input.fastq_input_selector) == 'paired': + #else if $fastq_input.fastq_input_selector == 'paired': #if $fastq_input.fastq_input1.ext.endswith('.gz'): #set ext = '.fastq.gz' #end if #set $in1 = $fastq_input.fastq_input1 #set $in2 = $fastq_input.fastq_input2 - #set $in1_name = re.sub('[^\w\-\.]', '_', str($fastq_input.fastq_input1.name)) + $ext - #set $in2_name = re.sub('[^\w\-\.]', '_', str($fastq_input.fastq_input2.name)) + $ext + #set $in1_name = re.sub('[^\w\-\.]', '_', str($fastq_input.fastq_input1.element_identifier)) + $ext + #set $in2_name = re.sub('[^\w\-\.]', '_', str($fastq_input.fastq_input2.element_identifier)) + $ext ln -s '$in1' '$in1_name' && ln -s '$in2' '$in2_name' && - #else if str($fastq_input.fastq_input_selector) == 'paired_collection': + #else if $fastq_input.fastq_input_selector == 'paired_collection': #if $fastq_input.paired_input.forward.ext.endswith('.gz'): #set ext = '.fastq.gz' #end if #set $in1 = $fastq_input.paired_input.forward #set $in2 = $fastq_input.paired_input.reverse - #set $in1_name = re.sub('[^\w\-\.]', '_', str($fastq_input.paired_input.name)) + $ext - #set $in2_name = re.sub('[^\w\-\.]', '_', str("%s_%s" % ($fastq_input.paired_input.name, "R2"))) + $ext + #set $in1_name = "%s_R1%s" % (re.sub('[^\w\-\.]', '_', str($fastq_input.paired_input.element_identifier)),$ext) + #set $in2_name = "%s_R2%s" % (re.sub('[^\w\-\.]', '_', str($fastq_input.paired_input.element_identifier)),$ext) ln -s '$in1' '$in1_name' && ln -s '$in2' '$in2_name' && #end if ## GetOrganelle cmd get_organelle_from_reads.py #if str($fastq_input.fastq_input_selector) == "single": - -u '${$in1_name}' + -u '$in1_name' #end if #if str($fastq_input.fastq_input_selector) == "paired": - -1 '${$in1_name}' -2 '${$in2_name}' + -1 '$in1_name' -2 '$in2_name' #end if #if str($fastq_input.fastq_input_selector) == "paired_collection": - -1 '${$in1_name1}' -2 '${$in2_name}' + -1 '$in1_name' -2 '$in2_name' #end if -o results_directory - #if str($organelle_type_input.F) == "anonym": + #if $organelle_type_input.F == "anonym": -F '$organelle_type_input.F' -s '$organelle_type_input.s' --genes '$organelle_type_input.genes' @@ -130,7 +130,7 @@ - + @@ -232,9 +232,11 @@ - - - + + + + + @@ -246,7 +248,18 @@ - + + + + + + + + + + + + @@ -278,6 +291,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.7.7.0 + 1 1.79