# HG changeset patch # User iuc # Date 1596634580 0 # Node ID 5750f6d0d36981d79d972ec6788ecc815090248b # Parent d2f4bfcf269ad17e003953913bfa59371a4daef2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9" diff -r d2f4bfcf269a -r 5750f6d0d369 data_manager/macros.xml --- a/data_manager/macros.xml Thu Nov 28 20:32:41 2019 +0000 +++ b/data_manager/macros.xml Wed Aug 05 13:36:20 2020 +0000 @@ -5,7 +5,7 @@ the index versions in sync, but you should manually adjust the +galaxy version number. --> - 2.7.2b + 2.7.5b - 2.7.1a + 2.7.4a + rnastar_index2x_versioned @@ -27,7 +28,7 @@ - + @@ -53,7 +54,7 @@ - @@ -76,10 +77,21 @@ --genomeDir 'tempstargenomedir' --genomeFastaFiles '${refGenomeSource.genomeFastaFiles}' ## Handle difference between indices with/without annotations - #if str($refGenomeSource.GTFconditional.GTFselect) == 'with-gtf': - --sjdbOverhang '${refGenomeSource.GTFconditional.sjdbOverhang}' - --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}' - #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3': + #if 'GTFconditional' in $refGenomeSource: + ## GTFconditional exists only in STAR, but not STARsolo + #if str($refGenomeSource.GTFconditional.GTFselect) == 'with-gtf': + --sjdbOverhang '${refGenomeSource.GTFconditional.sjdbOverhang}' + --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}' + #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3': + --sjdbGTFtagExonParentTranscript Parent + #end if + #end if + #else: + ## ref genome selection is less complex for STARsolo cause + ## with-gtf is mandatory there + --sjdbOverhang '${refGenomeSource.sjdbOverhang}' + --sjdbGTFfile '${refGenomeSource.sjdbGTFfile}' + #if str($refGenomeSource.sjdbGTFfile.ext) == 'gff3': --sjdbGTFtagExonParentTranscript Parent #end if #end if @@ -110,6 +122,13 @@ #end if #end if ]]> + + + + + @@ -119,48 +138,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r d2f4bfcf269a -r 5750f6d0d369 data_manager/rna_star_index_builder.xml --- a/data_manager/rna_star_index_builder.xml Thu Nov 28 20:32:41 2019 +0000 +++ b/data_manager/rna_star_index_builder.xml Wed Aug 05 13:36:20 2020 +0000 @@ -1,4 +1,4 @@ - + builder @@ -51,7 +51,7 @@ #if str($GTFconditional.GTFselect) == "withGTF": --with-gene-model #end if ---data-table rnastar_index2_versioned +--data-table @IDX_DATA_TABLE@ --subdir '${subdir}' ]]> diff -r d2f4bfcf269a -r 5750f6d0d369 data_manager_conf.xml --- a/data_manager_conf.xml Thu Nov 28 20:32:41 2019 +0000 +++ b/data_manager_conf.xml Wed Aug 05 13:36:20 2020 +0000 @@ -1,7 +1,7 @@ - - + + diff -r d2f4bfcf269a -r 5750f6d0d369 test-data/test_star_01.data_manager_json --- a/test-data/test_star_01.data_manager_json Thu Nov 28 20:32:41 2019 +0000 +++ b/test-data/test_star_01.data_manager_json Wed Aug 05 13:36:20 2020 +0000 @@ -1,1 +1,1 @@ -{"data_tables": {"rnastar_index2_versioned": \[{"dbkey": "phiX174", "name": "phiX174", "path": ".*", "value": "phiX174", "version": "2.7.1a", "with_gene_model": "0"}\]}} \ No newline at end of file +{"data_tables": {"rnastar_index2x_versioned": \[{"dbkey": "phiX174", "name": "phiX174", "path": ".*", "value": "phiX174", "version": "2.7.4a", "with_gene_model": "0"}\]}} diff -r d2f4bfcf269a -r 5750f6d0d369 tool-data/rnastar_index2_versioned.loc.sample --- a/tool-data/rnastar_index2_versioned.loc.sample Thu Nov 28 20:32:41 2019 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#This is a sample file distributed with Galaxy that enables tools -#to use a directory of rna-star indexed sequences data files. You will -#need to create these data files and then create a rnastar_index2.loc -#file similar to this one (store it in this directory) that points to -#the directories in which those files are stored. The rnastar_index2.loc -#file has this format (longer white space characters are TAB characters): -# -# -# -#The column should be 1 or 0, indicating whether the index -#was built with annotations (i.e., --sjdbGTFfile and --sjdbOverhang were used) -#or not. -# -#The column indicates the STAR version that introduced the format of -#the index, i.e., the oldest STAR version that could make use of the index. -# -#Note that STAR indices can become quite large. Consequently, it is only -#advisable to create indices with annotations if it's known ahead of time that -#(A) the annotations won't be frequently updated and (B) the read lengths used -#will also rarely vary. If either of these is not the case, it's advisable to -#create indices without annotations and then specify an annotation file and -#maximum read length (minus 1) when running STAR. -# -#hg19 hg19 hg19 full /mnt/galaxyIndices/genomes/hg19/rnastar 0 2.7.1a -#hg19Ensembl hg19Ensembl hg19 full with Ensembl annotation /mnt/galaxyIndices/genomes/hg19Ensembl/rnastar 1 2.7.1a - diff -r d2f4bfcf269a -r 5750f6d0d369 tool-data/rnastar_index2x_versioned.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/rnastar_index2x_versioned.loc.sample Wed Aug 05 13:36:20 2020 +0000 @@ -0,0 +1,27 @@ +#This is a sample file distributed with Galaxy that enables tools +#to use a directory of rna-star indexed sequences data files. +#You will need to create these data files and then create a +#rnastar_index2x_versioned.loc file similar to this one (store it in this +directory) that points to the directories in which those files are stored. +#The rnastar_index2x_versioned.loc file has this format (longer white space +#characters are TAB characters): +# +# +# +#The column should be 1 or 0, indicating whether the index +#was built with annotations (i.e., --sjdbGTFfile and --sjdbOverhang were used) +#or not. +# +#The column indicates the STAR version that introduced the format of +#the index, i.e., the oldest STAR version that could make use of the index. +# +#Note that STAR indices can become quite large. Consequently, it is only +#advisable to create indices with annotations if it's known ahead of time that +#(A) the annotations won't be frequently updated and (B) the read lengths used +#will also rarely vary. If either of these is not the case, it's advisable to +#create indices without annotations and then specify an annotation file and +#maximum read length (minus 1) when running STAR. +# +#hg19 hg19 hg19 full /mnt/galaxyIndices/genomes/hg19/rnastar 0 2.7.1a +#hg19Ensembl hg19Ensembl hg19 full with Ensembl annotation /mnt/galaxyIndices/genomes/hg19Ensembl/rnastar 1 2.7.1a + diff -r d2f4bfcf269a -r 5750f6d0d369 tool_data_table_conf.xml.sample --- a/tool_data_table_conf.xml.sample Thu Nov 28 20:32:41 2019 +0000 +++ b/tool_data_table_conf.xml.sample Wed Aug 05 13:36:20 2020 +0000 @@ -5,8 +5,8 @@ - +
value, dbkey, name, path, with_gene_model, version - +