annotate parse.xml @ 1:43b10ccf53b6 draft

planemo upload for repository https://github.com/open2c/pairtools commit dcee7286748c82b3f046d9a908bb9ef6365718cf
author iuc
date Mon, 10 Mar 2025 09:35:28 +0000
parents 3b5ee2bf3679
children d8e28fa369e1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
1 <tool id="pairtools_parse" name="Pairtools parse" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="23.2" license="MIT">
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[
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
8 pairtools parse
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
9 '$sam_path'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
10 -c '$chroms_path'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
11 #if str($assembly_name).strip():
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
12 --assembly '$assembly_name'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
13 #end if
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
14 -o '$output_parsed_pairs'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
15 --min-mapq '$min_mapq'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
16 --max-molecule-size '$max_molecule_size'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
17 $drop_readid
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
18 $drop_seq
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
19 $output_stats
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:
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
22 '$parsed_pairs_stats'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
23 #end if
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
24 --walks-policy '$walks_policy'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
25 --max-inter-align-gap '$max_inter_algn_gap'
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
26 --nproc-in \${GALAXY_SLOTS:-4}
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
27 --nproc-out \${GALAXY_SLOTS:-4}
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
28 ]]></command>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
29 <inputs>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
30 <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
31 <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
32 <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
33 <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
34 <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
35 <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
36 <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
37 <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
38 <param argument="--drop-sam" type="boolean" truevalue="--drop-sam" falsevalue="" checked="False" label="Do not add sams to the output"></param>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
39 <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
40 <expand macro="walks_policy_options"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
41 </param>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
42 <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
43 </inputs>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
44 <outputs>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
45 <data name="output_parsed_pairs" format="4dn_pairs" label="${tool.name} on ${on_string}: .pairs"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
46 <data name="parsed_pairs_stats" format="txt,tabular" label="${tool.name} on ${on_string}: parsed.stats">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
47 <filter>output_stats</filter>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
48 </data>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
49 </outputs>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
50 <tests>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
51 <!--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
52 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
53 <param name="sam_path" value="test.sam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
54 <param name="chroms_path" value="test.genome"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
55 <param name="min_mapq" value="1"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
56 <param name="walks_policy" value="mask"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
57 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
58 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_sam.pairs" lines_diff="10"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
59 </test>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
60 <!--Test 02 with BAM file as input and default parameters-->
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
61 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
62 <param name="sam_path" value="test.bam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
63 <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
64 <param name="min_mapq" value="1"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
65 <param name="walks_policy" value="mask"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
66 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
67 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_bam.pairs" lines_diff="10"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
68 </test>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
69 <!--Test 03 with BAM file as input and minimal mapq of 40-->
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
70 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
71 <param name="sam_path" value="test.bam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
72 <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
73 <param name="min_mapq" value="40"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
74 <param name="walks_policy" value="mask"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
75 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
76 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_bam_min_mapq_40.pairs" lines_diff="10"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
77 </test>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
78 <!--Test 04 with BAM file as input and walk policy of 5unique-->
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
79 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
80 <param name="sam_path" value="test.bam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
81 <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
82 <param name="min_mapq" value="40"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
83 <param name="walks_policy" value="5unique"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
84 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
85 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_bam_5unique.pairs" lines_diff="10"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
86 </test>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
87 <!--Test 05 with BAM file as input and read id dropped-->
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
88 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
89 <param name="sam_path" value="test.bam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
90 <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
91 <param name="min_mapq" value="40"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
92 <param name="walks_policy" value="5unique"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
93 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
94 <param name="drop_readid" value="true"></param>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
95 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_bam_readid_dropped.pairs" lines_diff="10"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
96 </test>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
97 <!--Test 06 with SAM file as input and drop_seq enabled-->
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
98 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
99 <param name="sam_path" value="test.sam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
100 <param name="chroms_path" value="test.genome"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
101 <param name="min_mapq" value="40"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
102 <param name="walks_policy" value="5unique"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
103 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
104 <param name="drop_seq" value="true"></param>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
105 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_bam_readid_dropped_seq.pairs" lines_diff="10"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
106 </test>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
107 <!--Test 07 with SAM file as input and output_stats enabled-->
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
108 <test expect_num_outputs="2">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
109 <param name="sam_path" value="test.sam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
110 <param name="chroms_path" value="test.genome"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
111 <param name="min_mapq" value="40"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
112 <param name="walks_policy" value="5unique"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
113 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
114 <param name="output_stats" value="true"></param>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
115 <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
116 </test>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
117 <!--Test 08 with SAM file as input and default parameters and assembly name -->
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
118 <test expect_num_outputs="1">
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
119 <param name="sam_path" value="test.sam"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
120 <param name="chroms_path" value="test.genome"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
121 <param name="assembly_name" value="test_assembly"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
122 <param name="min_mapq" value="1"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
123 <param name="walks_policy" value="mask"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
124 <param name="max_inter_algn_gap" value="20"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
125 <output name="output_parsed_pairs" ftype="4dn_pairs" file="output_parsed_pairs_sam_assemblyname.pairs" lines_diff="10"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
126 </test>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
127
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
128 </tests>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
129 <help><![CDATA[
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
130 **Pairtools parse**
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
131
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
132 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
133
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
134 sam_path : an input .sam/.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
135
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
136 ]]></help>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
137 <expand macro="citations"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
138 <expand macro="creator"/>
3b5ee2bf3679 planemo upload for repository https://github.com/open2c/pairtools commit 89826caaf2e2bc933ef2ce407f21260ad69bc5c7
iuc
parents:
diff changeset
139 </tool>