Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release_15.07' into dev
- Loading branch information
Showing
8 changed files
with
118 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
hg19 hg19 hg19 hg19 | ||
hg18 hg18 hg18 hg18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<tool id="dbkey_filter_input" name="dbkey_filter_input" version="0.1.0"> | ||
<description>Filter (single) input on a dbkey</description> | ||
<command> | ||
cat $inputs > $output | ||
</command> | ||
<inputs> | ||
<param format="txt" name="inputs" type="data" label="Inputs" help="" /> | ||
<param name="index" type="select" label="Using reference genome"> | ||
<options from_data_table="test_fasta_indexes"> | ||
<filter type="data_meta" ref="inputs" key="dbkey" column="1" /> | ||
<validator type="no_options" message="No reference genome is available for the build associated with the selected input dataset" /> | ||
</options> | ||
</param> | ||
</inputs> | ||
|
||
<outputs> | ||
<data format="txt" name="output" /> | ||
</outputs> | ||
|
||
<tests> | ||
<!-- can choose a dbkey if it matches input --> | ||
<test> | ||
<param name="inputs" value="simple_line.txt" dbkey="hg19" /> | ||
<param name="index" value="hg19" /> | ||
<output name="output" file="simple_line.txt"/> | ||
</test> | ||
<!-- cannot pick index otherwise --> | ||
<!-- Does this make sense - if no dbkey is defined there is no option | ||
available? --> | ||
<test expect_failure="true"> | ||
<param name="inputs" value="simple_line.txt" /> | ||
<param name="index" value="hg18" /> | ||
<output name="output" file="simple_line.txt"/> | ||
</test> | ||
</tests> | ||
|
||
<help> | ||
</help> | ||
</tool> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<tool id="dbkey_filter_multi_input" name="dbkey_filter_multi_input" version="0.1.0"> | ||
<description>Filter select on dbkey of multiple inputs</description> | ||
<command><![CDATA[ | ||
#for $input in $inputs# | ||
cat $input >> $output; | ||
#end for# | ||
]]> | ||
</command> | ||
<inputs> | ||
<param format="txt" name="inputs" type="data" label="Inputs" multiple="true" help="" /> | ||
<param name="index" type="select" label="Using reference genome"> | ||
<options from_data_table="test_fasta_indexes"> | ||
<filter type="data_meta" ref="inputs" key="dbkey" column="1" /> | ||
<validator type="no_options" message="No reference genome is available for the build associated with the selected input dataset" /> | ||
</options> | ||
</param> | ||
</inputs> | ||
|
||
<outputs> | ||
<data format="txt" name="output" /> | ||
</outputs> | ||
|
||
<tests> | ||
<!-- can choose a dbkey if it matches input --> | ||
<test> | ||
<param name="inputs" value="simple_line.txt,simple_line.txt" dbkey="hg19" /> | ||
<param name="index" value="hg19" /> | ||
<output name="output" file="simple_line_x2.txt"/> | ||
</test> | ||
</tests> | ||
|
||
<help> | ||
</help> | ||
</tool> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters