annotate parse.xml @ 13:729197476fc1 draft

planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
author iuc
date Fri, 25 Jul 2025 13:54:01 +0000
parents d3a7b17714c1
children bfb00f8fec97
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
1 <tool id="pairtools_parse" name="Pairtools parse" version="@TOOL_VERSION@+galaxy2" profile="23.2" license="MIT">
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
2 <description>Find ligation pairs in alignments and create pairs.</description>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
3 <macros>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
4 <import>macros.xml</import>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
5 </macros>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
8 pairtools parse
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
9 '$sam_path'
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
10 -c '$chroms_path'
7
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
11 #if str($assembly_name).strip():
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
12 --assembly '$assembly_name'
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
13 #end if
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
14 -o '$output_parsed_pairs'
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
15 --min-mapq '$min_mapq'
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
16 --max-molecule-size '$max_molecule_size'
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
17 $drop_readid
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
18 $drop_seq
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
19 $output_stats
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
20 $drop_sam
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
21 #if $output_stats:
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
22 '$parsed_pairs_stats'
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
23 #end if
13
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
24 #if $select_add_columns.add_columns_selection == "yes":
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
25 --add-columns '$select_add_columns.add_columns'
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
26 #end if
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
27 --walks-policy '$walks_policy'
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
28 --max-inter-align-gap '$max_inter_algn_gap'
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
29 --nproc-in \${GALAXY_SLOTS:-4}
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
30 --nproc-out \${GALAXY_SLOTS:-4}
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
31 ]]></command>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
32 <inputs>
9
d3a7b17714c1 planemo upload for repository https://github.com/open2c/pairtools commit 13aa776596c927adff29d936740ac80f0e37375d
iuc
parents: 8
diff changeset
33 <param name="sam_path" type="data" format="sam,qname_input_sorted.bam,qname_sorted.bam" label="Input SAM/BAM file" help="Input SAM or BAM (unsorted/name-sorted) file with paired-end sequence alignments of Hi-C molecules."/>
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
34 <param name="chroms_path" argument="-c" type="data" format="tabular" label="Input a chromosome order file" help="Chromosome order used to flip interchromosomal mates. Any scaffolds not listed will be ordered lexicographically."/>
7
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
35 <param name="assembly_name" type="text" value="" label="Input a name of genome assembly" help="Name of genome assembly (e.g. hg19, mm10) to store in the pairs header"></param>
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
36 <param argument="--min-mapq" type="integer" value="40" min="0" label="Minimal MAPQ" help="Minimal MAPQ score to consider a read as uniquely mapped."/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
37 <param argument="--max-molecule-size" type="integer" min="0" value="750" label="Input the maximal size of a Hi-C molecule" help="The maximal size of a Hi-C molecule; used to rescue single ligations(from molecules with three alignments) and to rescue complex ligations."></param>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
38 <param argument="--drop-readid" type="boolean" truevalue="--drop-readid" falsevalue="" checked="False" label="Do not add read ids to the output"></param>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
39 <param argument="--drop-seq" type="boolean" truevalue="--drop-seq" falsevalue="" checked="False" label="remove sequences and PHREDs from the sam fields"></param>
6
26ed6ceeeec1 planemo upload for repository https://github.com/open2c/pairtools commit 203375a1ff145613df37dae4aba6493708f6ad54
iuc
parents: 1
diff changeset
40 <param argument="--output-stats" type="boolean" truevalue="--output-stats" falsevalue="" checked="False" label="Generate various statistics of pairs file"></param>
26ed6ceeeec1 planemo upload for repository https://github.com/open2c/pairtools commit 203375a1ff145613df37dae4aba6493708f6ad54
iuc
parents: 1
diff changeset
41 <param argument="--drop-sam" type="boolean" truevalue="--drop-sam" falsevalue="" checked="False" label="Do not add sams to the output"></param>
13
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
42 <conditional name="select_add_columns">
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
43 <param name="add_columns_selection" type="select" label="Add additional columns to the output" help="Select if additional columns needs to be added to the output pairs file.">
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
44 <option value="no" selected="true">No</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
45 <option value="yes">Yes</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
46 </param>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
47 <when value="yes">
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
48 <param argument="--add-columns" type="select" multiple="true" label="Select extra columns describing alignments" help="Multiple options can be selected.">
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
49 <option value="mapq">MAPQ</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
50 <option value="pos5">POS5</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
51 <option value="pos3">POS3</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
52 <option value="cigar">CIGAR</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
53 <option value="read_len">Read length</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
54 <option value="matched_bp">Matched bp</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
55 <option value="algn_ref_span">algn_ref_span</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
56 <option value="dist_to_5">dist_to_5</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
57 <option value="dist_to_3">dist_to_3</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
58 <option value="seq">seq</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
59 <option value="mismatches">mismatches</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
60 <option value="read_side">read_side</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
61 <option value="algn_idx">algn_idx</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
62 <option value="same_side_algn_count">same_side_algn_count</option>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
63 </param>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
64 </when>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
65 <when value="no"/>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
66 </conditional>
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
67 <param argument="--walks-policy" type="select" label="Walks Policy" help="The policy for reporting unrescuable walks.">
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
68 <expand macro="walks_policy_options"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
69 </param>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
70 <param argument="max_inter_algn_gap" type="integer" min="0" value="30" label="Max alignment gap" help="read segments that are not covered by any alignment and longer than the specified value are treated as null alignments."/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
71 </inputs>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
72 <outputs>
1
8fae6be7a507 planemo upload for repository https://github.com/open2c/pairtools commit 17acbcae8309bec856882bc4aef1899d613f6807
iuc
parents: 0
diff changeset
73 <data name="output_parsed_pairs" format="4dn_pairs" label="${tool.name} on ${on_string}: .pairs"/>
13
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
74 <data name="parsed_pairs_stats" format="tabular" label="${tool.name} on ${on_string}: parsed.stats">
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
75 <filter>output_stats</filter>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
76 </data>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
77 </outputs>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
78 <tests>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
79 <!--Test 01 with SAM file as input and default parameters-->
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
80 <test expect_num_outputs="1">
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
81 <param name="sam_path" value="test.sam"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
82 <param name="chroms_path" value="test.genome"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
83 <param name="min_mapq" value="1"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
84 <param name="walks_policy" value="mask"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
85 <param name="max_inter_algn_gap" value="20"/>
1
8fae6be7a507 planemo upload for repository https://github.com/open2c/pairtools commit 17acbcae8309bec856882bc4aef1899d613f6807
iuc
parents: 0
diff changeset
86 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_sam.pairs" lines_diff="10"/>
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
87 </test>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
88 <!--Test 02 with BAM file as input and default parameters-->
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
89 <test expect_num_outputs="1">
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
90 <param name="sam_path" value="test.bam"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
91 <param name="chroms_path" value="test.reduced.chrom.sizes"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
92 <param name="min_mapq" value="1"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
93 <param name="walks_policy" value="mask"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
94 <param name="max_inter_algn_gap" value="20"/>
1
8fae6be7a507 planemo upload for repository https://github.com/open2c/pairtools commit 17acbcae8309bec856882bc4aef1899d613f6807
iuc
parents: 0
diff changeset
95 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_bam.pairs" lines_diff="10"/>
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
96 </test>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
97 <!--Test 03 with BAM file as input and minimal mapq of 40-->
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
98 <test expect_num_outputs="1">
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
99 <param name="sam_path" value="test.bam"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
100 <param name="chroms_path" value="test.reduced.chrom.sizes"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
101 <param name="min_mapq" value="40"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
102 <param name="walks_policy" value="mask"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
103 <param name="max_inter_algn_gap" value="20"/>
1
8fae6be7a507 planemo upload for repository https://github.com/open2c/pairtools commit 17acbcae8309bec856882bc4aef1899d613f6807
iuc
parents: 0
diff changeset
104 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_bam_min_mapq_40.pairs" lines_diff="10"/>
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
105 </test>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
106 <!--Test 04 with BAM file as input and walk policy of 5unique-->
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
107 <test expect_num_outputs="1">
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
108 <param name="sam_path" value="test.bam"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
109 <param name="chroms_path" value="test.reduced.chrom.sizes"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
110 <param name="min_mapq" value="40"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
111 <param name="walks_policy" value="5unique"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
112 <param name="max_inter_algn_gap" value="20"/>
1
8fae6be7a507 planemo upload for repository https://github.com/open2c/pairtools commit 17acbcae8309bec856882bc4aef1899d613f6807
iuc
parents: 0
diff changeset
113 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_bam_5unique.pairs" lines_diff="10"/>
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
114 </test>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
115 <!--Test 05 with BAM file as input and read id dropped-->
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
116 <test expect_num_outputs="1">
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
117 <param name="sam_path" value="test.bam"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
118 <param name="chroms_path" value="test.reduced.chrom.sizes"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
119 <param name="min_mapq" value="40"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
120 <param name="walks_policy" value="5unique"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
121 <param name="max_inter_algn_gap" value="20"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
122 <param name="drop_readid" value="true"></param>
1
8fae6be7a507 planemo upload for repository https://github.com/open2c/pairtools commit 17acbcae8309bec856882bc4aef1899d613f6807
iuc
parents: 0
diff changeset
123 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_bam_readid_dropped.pairs" lines_diff="10"/>
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
124 </test>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
125 <!--Test 06 with SAM file as input and drop_seq enabled-->
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
126 <test expect_num_outputs="1">
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
127 <param name="sam_path" value="test.sam"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
128 <param name="chroms_path" value="test.genome"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
129 <param name="min_mapq" value="40"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
130 <param name="walks_policy" value="5unique"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
131 <param name="max_inter_algn_gap" value="20"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
132 <param name="drop_seq" value="true"></param>
1
8fae6be7a507 planemo upload for repository https://github.com/open2c/pairtools commit 17acbcae8309bec856882bc4aef1899d613f6807
iuc
parents: 0
diff changeset
133 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_bam_readid_dropped_seq.pairs" lines_diff="10"/>
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
134 </test>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
135 <!--Test 07 with SAM file as input and output_stats enabled-->
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
136 <test expect_num_outputs="2">
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
137 <param name="sam_path" value="test.sam"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
138 <param name="chroms_path" value="test.genome"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
139 <param name="min_mapq" value="40"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
140 <param name="walks_policy" value="5unique"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
141 <param name="max_inter_algn_gap" value="20"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
142 <param name="output_stats" value="true"></param>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
143 <output name="parsed_pairs_stats" file="output_parsed_pairs.stats" lines_diff="10"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
144 </test>
7
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
145 <!--Test 08 with SAM file as input and default parameters and assembly name -->
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
146 <test expect_num_outputs="1">
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
147 <param name="sam_path" value="test.sam"/>
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
148 <param name="chroms_path" value="test.genome"/>
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
149 <param name="assembly_name" value="test_assembly"/>
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
150 <param name="min_mapq" value="1"/>
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
151 <param name="walks_policy" value="mask"/>
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
152 <param name="max_inter_algn_gap" value="20"/>
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
153 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_sam_assemblyname.pairs" lines_diff="10"/>
b0a1f128fa15 planemo upload for repository https://github.com/open2c/pairtools commit edb9fd7a6734203070b623876e76ce4a0a164ed9
iuc
parents: 6
diff changeset
154 </test>
13
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
155 <!--Test 09 with SAM file as input and add columns-->
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
156 <test expect_num_outputs="1">
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
157 <param name="sam_path" value="test.sam"/>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
158 <param name="chroms_path" value="test.genome"/>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
159 <param name="min_mapq" value="1"/>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
160 <param name="walks_policy" value="mask"/>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
161 <param name="max_inter_algn_gap" value="20"/>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
162 <conditional name="select_add_columns">
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
163 <param name="add_columns_selection" value="yes"/>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
164 <param name="add_columns" value="mapq,seq"/>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
165 </conditional>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
166 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_sam_mapq.pairs" lines_diff="10"/>
729197476fc1 planemo upload for repository https://github.com/open2c/pairtools commit 365c6f6387b2f90af22a62e673873b90e7f7394a
iuc
parents: 9
diff changeset
167 </test>
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
168
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
169 </tests>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
170 <help><![CDATA[
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
171 **Pairtools parse**
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
172
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
173 Detects ligation events in the aligned sequences of DNA molecules formed in Hi-C experiments and reports them in the .pairs/.pairsam format.
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
174
9
d3a7b17714c1 planemo upload for repository https://github.com/open2c/pairtools commit 13aa776596c927adff29d936740ac80f0e37375d
iuc
parents: 8
diff changeset
175 sam_path : an input .sam/.bam (unsorted/name-sorted) file with paired-end sequence alignments of Hi-C molecules.
0
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
176
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
177 ]]></help>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
178 <expand macro="citations"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
179 <expand macro="creator"/>
68413c5eb035 planemo upload for repository https://github.com/open2c/pairtools commit ccfba0aea1bde83cd14ab0ffc312d96cf13e777f
iuc
parents:
diff changeset
180 </tool>