changeset 9:8c5c2953c097 draft

Uploaded
author jackcurragh
date Tue, 17 May 2022 13:21:57 +0000
parents 84664985411c
children 5ee507e2c4a2
files get_chrom_sizes/get_chrom_sizes.xml
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/get_chrom_sizes/get_chrom_sizes.xml	Tue May 17 13:16:52 2022 +0000
+++ b/get_chrom_sizes/get_chrom_sizes.xml	Tue May 17 13:21:57 2022 +0000
@@ -1,7 +1,12 @@
 <tool id="get_chrom_sizes" name="Get Chromosome Sizes" version="2.2">
     <description>Chromosome sizes are needed for the creation of ribosome profiles. This tool generates a tab delimited chrom.sizes file from an inputted fasta</description>
     <command>
-        python $__tool_directory__/calculating_chrom.sizes.py ${refGenomeSource.genomeSource} ${refGenomeSource.genomeSource.input1_file} ${refGenomeSource.genomeSource.input1_builtin} ${input2} ${output1}
+        python $__tool_directory__/calculating_chrom.sizes.py ${refGenomeSource.genomeSource} 
+            #if $refGenomeSource.genomeSource == "history":
+                ${refGenomeSource.genomeSource.input1_file}
+            #else:
+                ${refGenomeSource.genomeSource.input1_builtin} 
+            ${input2} ${output1}
     </command>
     <inputs>
         <conditional name="refGenomeSource">