Question: Test XML, how to select from table: <options from_data_table="blastdb">
gravatar for danielfortin86
3.1 years ago by
United States
danielfortin86110 wrote:

When defining a test in the <tests> section of the xml, how does one refer to a specific value when the values are retrieved from a table such as blastdb.loc? 


     <param name="refGenomeSource_type" type="select" label="Select a reference genome / transcriptome">
      <options from_data_table="twobit_indexes" />




<param name="refGenomeSource_type" value="twoBitIndexElement/>




planemo test • 816 views
ADD COMMENTlink modified 3.0 years ago • written 3.1 years ago by danielfortin86110

Found these related comments....

ADD REPLYlink written 3.1 years ago by danielfortin86110
gravatar for danielfortin86
3.0 years ago by
United States
danielfortin86110 wrote:

If any one is curious, I found an answer to this question in the Planemo documentation:


To create this kind of test, one simply needs to provide a tool_data_table_conf.xml.test beside your tool’s tool_data_table_conf.xml.sample file that specifies paths to test .loc files which in turn define paths to the test index data. Both the .loc files and the tool_data_table_conf.xml.test can use the value ${__HERE__} which will be replaced with the path to the directory the file lives in. This allows using relative-like paths in these files which is needed for portable tests.

An example commit demonstrating the application of this approach to a Picard tool can be found here.

ADD COMMENTlink written 3.0 years ago by danielfortin86110
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 172 users visited in the last hour