annotate parse.xml @ 3:a3eb80572728 draft default tip

planemo upload for repository https://github.com/open2c/pairtools commit f60e7663dc3fd1a564e691ef35d35f35b0a851ad
author iuc
date Wed, 24 Sep 2025 11:48:55 +0000
parents d8e28fa369e1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
1 <tool id="pairtools_parse" name="Pairtools parse" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="@PROFILE_VERSION@" license="MIT">
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
2 <description>Find ligation pairs in alignments and create pairs.</description>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
3 <macros>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
4 <import>macros.xml</import>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
5 </macros>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
8 #set $output = "output" + str($compress_output)
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
9 ln -s '$output_parsed_pairs' '$output' &&
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
10 pairtools parse
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
11 '$sam_path'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
12 -c '$chroms_path'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
13 #if str($assembly_name).strip():
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
14 --assembly '$assembly_name'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
15 #end if
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
16 --min-mapq '$min_mapq'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
17 --max-molecule-size '$max_molecule_size'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
18 $drop_readid
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
19 $drop_seq
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
20 $drop_sam
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
21 #if $output_stats:
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
22 --output-stats '$parsed_pairs_stats'
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
23 #end if
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
24 #if $select_add_columns.add_columns_selection == "yes":
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
25 --add-columns '$select_add_columns.add_columns'
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
26 #end if
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
27 --walks-policy '$walks_policy'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
28 --max-inter-align-gap '$max_inter_algn_gap'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
29 --nproc-in \${GALAXY_SLOTS:-4}
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
30 --nproc-out \${GALAXY_SLOTS:-4}
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
31 #if $sort_output:
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
32 |
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
33 pairtools sort -o '$output'
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
34 --nproc-in \${GALAXY_SLOTS:-4}
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
35 --nproc-out \${GALAXY_SLOTS:-4}
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
36 #else
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
37 -o '$output'
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
38 #end if
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
39
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
40 ]]></command>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
41 <inputs>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
42 <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."/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
43 <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."/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
44 <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>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
45 <param argument="--min-mapq" type="integer" value="40" min="0" label="Minimal MAPQ" help="Minimal MAPQ score to consider a read as uniquely mapped."/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
46 <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>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
47 <param argument="--drop-readid" type="boolean" truevalue="--drop-readid" falsevalue="" checked="False" label="Do not add read ids to the output"></param>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
48 <param argument="--drop-seq" type="boolean" truevalue="--drop-seq" falsevalue="" checked="False" label="remove sequences and PHREDs from the sam fields"></param>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
49 <param argument="--output-stats" type="boolean" truevalue="--output-stats" falsevalue="" checked="False" label="Generate various statistics of pairs file"></param>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
50 <param argument="--drop-sam" type="boolean" truevalue="--drop-sam" falsevalue="" checked="False" label="Do not add sams to the output"></param>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
51 <conditional name="select_add_columns">
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
52 <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.">
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
53 <option value="no" selected="true">No</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
54 <option value="yes">Yes</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
55 </param>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
56 <when value="yes">
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
57 <param argument="--add-columns" type="select" multiple="true" label="Select extra columns describing alignments" help="Multiple options can be selected.">
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
58 <option value="mapq">MAPQ</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
59 <option value="pos5">POS5</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
60 <option value="pos3">POS3</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
61 <option value="cigar">CIGAR</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
62 <option value="read_len">Read length</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
63 <option value="matched_bp">Matched bp</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
64 <option value="algn_ref_span">algn_ref_span</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
65 <option value="dist_to_5">dist_to_5</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
66 <option value="dist_to_3">dist_to_3</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
67 <option value="seq">seq</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
68 <option value="mismatches">mismatches</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
69 <option value="read_side">read_side</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
70 <option value="algn_idx">algn_idx</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
71 <option value="same_side_algn_count">same_side_algn_count</option>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
72 </param>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
73 </when>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
74 <when value="no"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
75 </conditional>
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
76 <param argument="--walks-policy" type="select" label="Walks Policy" help="The policy for reporting unrescuable walks.">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
77 <expand macro="walks_policy_options"/>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
78 </param>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
79 <param name="compress_output" type="boolean" truevalue=".gz" falsevalue="" checked="false" label="Compress output file" />
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
80 <param name="sort_output" type="boolean" checked="true" label="generate sorted output file" />
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
81 <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."/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
82 </inputs>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
83 <outputs>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
84 <data name="output_parsed_pairs" format="4dn_pairsam" label="${tool.name} on ${on_string}: .pairs">
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
85 <change_format>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
86 <when input="compress_output" value=".gz" format="4dn_pairsam.gz"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
87 </change_format>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
88 </data>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
89 <data name="parsed_pairs_stats" format="tabular" label="${tool.name} on ${on_string}: parsed.stats">
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
90 <filter>output_stats</filter>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
91 </data>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
92 </outputs>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
93 <tests>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
94 <!--Test 01 with SAM file as input and default parameters-->
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
95 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
96 <param name="sam_path" value="test.sam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
97 <param name="chroms_path" value="test.genome"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
98 <param name="min_mapq" value="1"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
99 <param name="walks_policy" value="mask"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
100 <param name="max_inter_algn_gap" value="20"/>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
101 <param name="sort_output" value="false"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
102 <output name="output_parsed_pairs" ftype="4dn_pairsam" file="output_parsed_pairs_sam.pairs" lines_diff="10"/>
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
103 </test>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
104 <!--Test 02 with SAM file as input and sorted output default parameters-->
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
105 <test expect_num_outputs="1">
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
106 <param name="sam_path" value="test.sam"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
107 <param name="chroms_path" value="test.genome"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
108 <param name="min_mapq" value="1"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
109 <param name="walks_policy" value="mask"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
110 <param name="max_inter_algn_gap" value="20"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
111 <param name="sort_output" value="true"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
112 <output name="output_parsed_pairs" ftype="4dn_pairsam" file="output_parsed_pairs_sam.sorted.pairs" lines_diff="10"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
113 </test>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
114 <!--Test 03 with BAM file as input and default parameters-->
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
115 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
116 <param name="sam_path" value="test.bam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
117 <param name="chroms_path" value="test.reduced.chrom.sizes"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
118 <param name="min_mapq" value="1"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
119 <param name="walks_policy" value="mask"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
120 <param name="max_inter_algn_gap" value="20"/>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
121 <param name="sort_output" value="false"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
122 <output name="output_parsed_pairs" ftype="4dn_pairsam" file="output_parsed_pairs_bam.pairs" lines_diff="10"/>
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
123 </test>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
124 <!--Test 04 with BAM file as input and minimal mapq of 40-->
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
125 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
126 <param name="sam_path" value="test.bam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
127 <param name="chroms_path" value="test.reduced.chrom.sizes"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
128 <param name="min_mapq" value="40"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
129 <param name="walks_policy" value="mask"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
130 <param name="max_inter_algn_gap" value="20"/>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
131 <param name="sort_output" value="false"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
132 <output name="output_parsed_pairs" ftype="4dn_pairsam" file="output_parsed_pairs_bam_min_mapq_40.pairs" lines_diff="10"/>
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
133 </test>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
134 <!--Test 05 with BAM file as input and walk policy of 5unique-->
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
135 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
136 <param name="sam_path" value="test.bam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
137 <param name="chroms_path" value="test.reduced.chrom.sizes"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
138 <param name="min_mapq" value="40"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
139 <param name="walks_policy" value="5unique"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
140 <param name="max_inter_algn_gap" value="20"/>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
141 <param name="sort_output" value="false"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
142 <output name="output_parsed_pairs" ftype="4dn_pairsam" file="output_parsed_pairs_bam_5unique.pairs" lines_diff="10"/>
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
143 </test>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
144 <!--Test 06 with BAM file as input and read id dropped-->
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
145 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
146 <param name="sam_path" value="test.bam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
147 <param name="chroms_path" value="test.reduced.chrom.sizes"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
148 <param name="min_mapq" value="40"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
149 <param name="walks_policy" value="5unique"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
150 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
151 <param name="drop_readid" value="true"></param>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
152 <param name="sort_output" value="false"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
153 <output name="output_parsed_pairs" ftype="4dn_pairsam" file="output_parsed_pairs_bam_readid_dropped.pairs" lines_diff="10"/>
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
154 </test>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
155 <!--Test 07 with SAM file as input and drop_seq enabled-->
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
156 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
157 <param name="sam_path" value="test.sam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
158 <param name="chroms_path" value="test.genome"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
159 <param name="min_mapq" value="40"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
160 <param name="walks_policy" value="5unique"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
161 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
162 <param name="drop_seq" value="true"></param>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
163 <param name="sort_output" value="false"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
164 <output name="output_parsed_pairs" ftype="4dn_pairsam" file="output_parsed_pairs_bam_readid_dropped_seq.pairs" lines_diff="10"/>
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
165 </test>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
166 <!--Test 08 with SAM file as input and output_stats enabled-->
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
167 <test expect_num_outputs="2">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
168 <param name="sam_path" value="test.sam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
169 <param name="chroms_path" value="test.genome"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
170 <param name="min_mapq" value="40"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
171 <param name="walks_policy" value="5unique"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
172 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
173 <param name="output_stats" value="true"></param>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
174 <output name="parsed_pairs_stats" file="output_parsed_pairs.stats" lines_diff="10"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
175 </test>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
176 <!--Test 09 with SAM file as input and default parameters and assembly name -->
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
177 <test expect_num_outputs="1">
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
178 <param name="sam_path" value="test.sam"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
179 <param name="chroms_path" value="test.genome"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
180 <param name="assembly_name" value="test_assembly"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
181 <param name="min_mapq" value="1"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
182 <param name="walks_policy" value="mask"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
183 <param name="max_inter_algn_gap" value="20"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
184 <param name="sort_output" value="false"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
185 <output name="output_parsed_pairs" ftype="4dn_pairsam" file="output_parsed_pairs_sam_assemblyname.pairs" lines_diff="10"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
186 </test>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
187 <!--Test 10 with SAM file as input and default parameters and assembly name and compressed output-->
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
188 <test expect_num_outputs="1">
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
189 <param name="sam_path" value="test.sam"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
190 <param name="chroms_path" value="test.genome"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
191 <param name="assembly_name" value="test_assembly"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
192 <param name="min_mapq" value="1"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
193 <param name="walks_policy" value="mask"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
194 <param name="max_inter_algn_gap" value="20"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
195 <param name="compress_output" value="true"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
196 <param name="sort_output" value="false"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
197 <output name="output_parsed_pairs" ftype="4dn_pairsam.gz" file="output_parsed_pairs_sam_assemblyname.pairs.gz" decompress="true" lines_diff="10"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
198 </test>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
199 <!--Test 11 with SAM file as input and default parameters and assembly name and sorted, compressed output-->
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
200 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
201 <param name="sam_path" value="test.sam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
202 <param name="chroms_path" value="test.genome"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
203 <param name="assembly_name" value="test_assembly"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
204 <param name="min_mapq" value="1"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
205 <param name="walks_policy" value="mask"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
206 <param name="max_inter_algn_gap" value="20"/>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
207 <param name="compress_output" value="true"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
208 <output name="output_parsed_pairs" ftype="4dn_pairsam.gz" file="output_parsed_pairs_sam_assemblyname.sorted.pairs.gz" decompress="true" lines_diff="10"/>
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
209 </test>
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
210 <!--Test 12 with SAM file as input and add columns-->
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
211 <test expect_num_outputs="1">
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
212 <param name="sam_path" value="test.sam"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
213 <param name="chroms_path" value="test.genome"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
214 <param name="min_mapq" value="1"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
215 <param name="walks_policy" value="mask"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
216 <param name="max_inter_algn_gap" value="20"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
217 <conditional name="select_add_columns">
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
218 <param name="add_columns_selection" value="yes"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
219 <param name="add_columns" value="mapq,seq"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
220 </conditional>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
221 <param name="sort_output" value="false"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
222 <output name="output_parsed_pairs" ftype="4dn_pairsam" file="output_parsed_pairs_sam_mapq.pairs" lines_diff="10"/>
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
223 </test>
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
224 </tests>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
225 <help><![CDATA[
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
226 **Pairtools parse**
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
227
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
228 Detects ligation events in the aligned sequences of DNA molecules formed in Hi-C experiments and reports them in the .pairs/.pairsam format.
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
229
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
230 sam_path : an input .sam/.bam (unsorted/name-sorted) file with paired-end sequence alignments of Hi-C molecules.
2
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
231
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
232 By default, the generated .pair/.pairsam output is sorted by piping it through pairtools sort. You can disable this behavior by unchecking the “Generate sorted output file” checkbox.
d8e28fa369e1 planemo upload for repository https://github.com/open2c/pairtools commit abd18c860877b2100e02019b4b597d6d2569994e
iuc
parents: 0
diff changeset
233
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
234 ]]></help>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
235 <expand macro="citations"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
236 <expand macro="creator"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
237 </tool>