Repository 'data_manager_salmon_index_builder'
hg clone https://toolshed.g2.bx.psu.edu/repos/ieguinoa/data_manager_salmon_index_builder

Changeset 8:cbe62bd6e149 (2019-07-23)
Previous changeset 7:954d617c323d (2019-07-23) Next changeset 9:9004217cddf4 (2019-07-23)
Commit message:
Uploaded
modified:
data_manager/salmon_index_builder.py
data_manager/salmon_index_builder.xml
data_manager_conf.xml
b
diff -r 954d617c323d -r cbe62bd6e149 data_manager/salmon_index_builder.py
--- a/data_manager/salmon_index_builder.py Tue Jul 23 10:50:43 2019 -0400
+++ b/data_manager/salmon_index_builder.py Tue Jul 23 11:12:15 2019 -0400
b
@@ -59,6 +59,7 @@
     parser.add_argument( '--fasta_dbkey', dest='fasta_dbkey', action='store', type=str, default=None )
     parser.add_argument( '--fasta_description', dest='fasta_description', action='store', type=str, default=None )
     parser.add_argument( '--data_table_name', dest='data_table_name', action='store', type=str, default='salmon_indexes' )
+    parser.add_argument( '-v','--index_version', dest='index_version', action='store', type=str, help='Use IndexVersion attribute from header.json' )
     parser.add_argument( '-k', '--kmer_size', dest='kmer_size', action='store', type=str, help='kmer_size' )
     options = parser.parse_args()
 
b
diff -r 954d617c323d -r cbe62bd6e149 data_manager/salmon_index_builder.xml
--- a/data_manager/salmon_index_builder.xml Tue Jul 23 10:50:43 2019 -0400
+++ b/data_manager/salmon_index_builder.xml Tue Jul 23 11:12:15 2019 -0400
b
@@ -12,7 +12,7 @@
             --fasta_dbkey '${all_fasta_source.fields.dbkey}'
             --fasta_description '${all_fasta_source.fields.name}'
             --kmer_size "${kmer_size}"
-            --data_table_name salmon_indexes
+            --data_table_name salmon_indexes_versioned
             --index_version @IDX_VERSION@
         ]]>
     </command>
b
diff -r 954d617c323d -r cbe62bd6e149 data_manager_conf.xml
--- a/data_manager_conf.xml Tue Jul 23 10:50:43 2019 -0400
+++ b/data_manager_conf.xml Tue Jul 23 11:12:15 2019 -0400
b
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <data_managers>
     <data_manager tool_file="data_manager/salmon_index_builder.xml" id="salmon_index_builder" version="0.1">
-        <data_table name="salmon_indexes">
+        <data_table name="salmon_indexes_versioned">
             <output>
                 <column name="value" />
                 <column name="dbkey" />