Skip to content

Commit 9cf789f

Browse files
Delphine-LclaudeSaimMomin12
authored
New version of pretextmap and addition of --highres flag (#7721)
* new version of pretextmap and add highres flag 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Update tools/pretext/pretext_map.xml --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Saim Momin <64724322+SaimMomin12@users.noreply.github.com>
1 parent e76c76b commit 9cf789f

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

tools/pretext/pretext_map.xml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<tool id="pretext_map" name="PretextMap" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
22
<description>converts SAM or BAM files into genome contact maps</description>
33
<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>
66
</macros>
77
<requirements>
88
<requirement type="package" version="@TOOL_VERSION@">pretextmap</requirement>
@@ -31,10 +31,12 @@
3131
#elif $filter.filter_type == "out":
3232
--filterExclude '$filter.filter_list'
3333
#end if
34+
$highRes
3435
-o output.pretext
3536
]]></command>
3637
<inputs>
3738
<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"/>
3840
<conditional name="sorting">
3941
<param argument="--sortby" type="select" label="Sort by" help="Sort the genome by length or name of the scaffolds">
4042
<option value="nosort">Don't sort</option>
@@ -91,6 +93,7 @@
9193
<tests>
9294
<test>
9395
<param name="input" ftype="bam" value="test.bam"/>
96+
<param name="highRes" value="true"/>
9497
<conditional name="sorting">
9598
<param name="sortby" value="length"/>
9699
<param name="sortorder" value="ascend"/>
@@ -100,10 +103,15 @@
100103
<param name="filter_list" value="ref"/>
101104
</conditional>
102105
<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>
104111
</test>
105112
<test>
106113
<param name="input" ftype="sam" value="test.sam"/>
114+
<param name="highRes" value="false"/>
107115
<conditional name="sorting">
108116
<param name="sortby" value="name"/>
109117
<param name="sortorder" value="descend"/>
-552 KB
Binary file not shown.

0 commit comments

Comments
 (0)