Skip to content

Commit

Permalink
working loc file with dummy data
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHarrop committed Jun 11, 2024
1 parent e1c686c commit 4f5f155
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 5 deletions.
Empty file added tools/dorado/README.md
Empty file.
14 changes: 9 additions & 5 deletions tools/dorado/dorado.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<tool id="dorado" name="dorado" version="@CONTAINER_HASH@+galaxy0" python_template_version="3.5" profile="21.05">
<macros>
<!-- TODO: the containers aren't tagged with software versions -->
<token name="@CONTAINER_HASH@">c2d8bc91ca2d043fed84d06cca92aaeb62bcc1cd</token>
<import>macros.xml</import>
</macros>
<requirements>
<container type="docker">nanoporetech/dorado:sha@CONTAINER_HASH@</container>
</requirements>
<expand macro="xrefs"/>
<expand macro="requirements"/>
<command detect_errors="exit_code"><![CDATA[
ln -s '$pod5_file' ./reads.pod5 &&
Expand All @@ -20,6 +18,12 @@ reads.pod5
]]></command>
<inputs>
<param name="pod5_file" type="data" format="fast5" label="Raw fast5 file"/>
<!-- <param name="model" type="select">
<options from_data_table="dorado_models" />
</param> -->
<param name="index" type="select">
<options from_data_table="bowtie_indexes" />
</param>
</inputs>
<outputs>
<data format="sam" name="out_sam" label="Output from dorado list-models" from_work_dir="output.sam"/>
Expand Down
14 changes: 14 additions & 0 deletions tools/dorado/macros.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<macros>
<!-- TODO: the containers aren't tagged with software versions -->
<token name="@CONTAINER_HASH@">c2d8bc91ca2d043fed84d06cca92aaeb62bcc1cd</token>
<xml name="requirements">
<requirements>
<container type="docker">nanoporetech/dorado:sha@CONTAINER_HASH@</container>
</requirements>
</xml>
<xml name="xrefs">
<xrefs>
<xref type="bio.tools">dorado</xref>
</xrefs>
</xml>
</macros>
1 change: 1 addition & 0 deletions tools/dorado/test-data/bowtie_indices.loc
7 changes: 7 additions & 0 deletions tools/dorado/tool_data_table_conf.xml.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<tables>
<!-- Locations of indexes in the Bowtie mapper format -->
<table name="bowtie_indexes" comment_char="#">
<columns>value, dbkey, name, path</columns>
<file path="tool-data/bowtie_indices.loc" />
</table>
</tables>
7 changes: 7 additions & 0 deletions tools/dorado/tool_data_table_conf.xml.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<tables>
<!-- Locations of indexes in the Bowtie mapper format -->
<table name="bowtie_indexes" comment_char="#">
<columns>value, dbkey, name, path</columns>
<file path="${__HERE__}/test-data/bowtie_indices.loc" />
</table>
</tables>

0 comments on commit 4f5f155

Please sign in to comment.