|
1 | 1 | <tool id="pretext_map" name="PretextMap" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01"> |
2 | 2 | <description>converts SAM or BAM files into genome contact maps</description> |
3 | 3 | <macros> |
4 | | - <token name="@TOOL_VERSION@">0.1.9</token> |
5 | | - <token name="@VERSION_SUFFIX@">1</token> |
| 4 | + <token name="@TOOL_VERSION@">0.2.3</token> |
| 5 | + <token name="@VERSION_SUFFIX@">0</token> |
6 | 6 | </macros> |
7 | 7 | <requirements> |
8 | 8 | <requirement type="package" version="@TOOL_VERSION@">pretextmap</requirement> |
|
31 | 31 | #elif $filter.filter_type == "out": |
32 | 32 | --filterExclude '$filter.filter_list' |
33 | 33 | #end if |
| 34 | + $highRes |
34 | 35 | -o output.pretext |
35 | 36 | ]]></command> |
36 | 37 | <inputs> |
37 | 38 | <param name="input" type="data" format="sam,bam" label="Input dataset in SAM or BAM format"/> |
| 39 | + <param argument="--highRes" type="boolean" truevalue="--highRes" falsevalue="" label="High resolution mode" help="Use high resolution mode for better contact map resolution"/> |
38 | 40 | <conditional name="sorting"> |
39 | 41 | <param argument="--sortby" type="select" label="Sort by" help="Sort the genome by length or name of the scaffolds"> |
40 | 42 | <option value="nosort">Don't sort</option> |
|
91 | 93 | <tests> |
92 | 94 | <test> |
93 | 95 | <param name="input" ftype="bam" value="test.bam"/> |
| 96 | + <param name="highRes" value="true"/> |
94 | 97 | <conditional name="sorting"> |
95 | 98 | <param name="sortby" value="length"/> |
96 | 99 | <param name="sortorder" value="ascend"/> |
|
100 | 103 | <param name="filter_list" value="ref"/> |
101 | 104 | </conditional> |
102 | 105 | <param name="map_qual" value="10"/> |
103 | | - <output name="pretext_map_out" file="output_1.pretext"/> |
| 106 | + <output name="pretext_map_out"> |
| 107 | + <assert_contents> |
| 108 | + <has_size value="2225023" delta="1000"/> |
| 109 | + </assert_contents> |
| 110 | + </output> |
104 | 111 | </test> |
105 | 112 | <test> |
106 | 113 | <param name="input" ftype="sam" value="test.sam"/> |
| 114 | + <param name="highRes" value="false"/> |
107 | 115 | <conditional name="sorting"> |
108 | 116 | <param name="sortby" value="name"/> |
109 | 117 | <param name="sortorder" value="descend"/> |
|
0 commit comments