# HG changeset patch # User iuc # Date 1684145018 0 # Node ID 883c33ef3372af905d237c85099e987b1e596c9b # Parent 7d8cafa4d18c30b7148da6537bc0a7fbc9a615ce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/velocyto commit f523cd10a711b70ae4fef91a6e4dbc02781858b9 diff -r 7d8cafa4d18c -r 883c33ef3372 velocyto_cli.xml --- a/velocyto_cli.xml Sat May 13 12:31:25 2023 +0000 +++ b/velocyto_cli.xml Mon May 15 10:03:38 2023 +0000 @@ -1,4 +1,4 @@ - + pre-process data for the analysis of RNA velocity macros.xml @@ -22,10 +22,15 @@ #import re #if str($main.do) == "run10x": + #if str($main.sample_definition.sample_definition_select) == "manual": + #set sample = str($main.sample_definition.sample) + #else: + #set sample = re.sub('[^\w\-\s]', '_', str($main.BAM.element_identifier)) + #end if ## We need to reproduce cell ranger structure: - mkdir -p '$main.sample/outs/filtered_gene_bc_matrices/whatever/' && - ln -s '${main.BAM}' '$main.sample/outs/possorted_genome_bam.bam' && - ln -s '${main.barcodes}' '$main.sample/outs/filtered_gene_bc_matrices/whatever/barcodes.tsv' && + mkdir -p '$sample/outs/filtered_gene_bc_matrices/whatever/' && + ln -s '${main.BAM}' '$sample/outs/possorted_genome_bam.bam' && + ln -s '${main.barcodes}' '$sample/outs/filtered_gene_bc_matrices/whatever/barcodes.tsv' && #else if str($main.do) in ['run', 'run-smartseq2']: #for $bam in $main.bamfiles: #set input_name = re.sub('[^\w\-\s]', '_', str($bam.element_identifier)) @@ -67,9 +72,9 @@ -t '$main.t' @SAMTOOLS_OPTS@ '$verbosity' - '$main.sample' + '$sample' '$main.gtffile' -&& mv '$main.sample/velocyto/'*.loom 'output.loom' +&& mv '$sample/velocyto/'*.loom 'output.loom' #else if str($main.do) == "run-smartseq2": run-smartseq2 @@ -119,14 +124,23 @@ - - - - - - - [0-9a-zA-Z_]+ - + + + + + + + + + + + + + [0-9a-zA-Z_]+ + + + + @@ -192,7 +206,10 @@ - + + + + @@ -209,8 +226,11 @@ + + + - + @@ -262,7 +282,38 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +