annotate bamutil_diff.xml @ 0:2cafa8420c04 draft default tip

"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
author jjohnson
date Fri, 26 Mar 2021 13:16:53 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
1 <tool id="bamutil_diff" name="BamUtil diff" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
2 <description>two coordinate sorted SAM/BAM files</description>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
3 <macros>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
4 <import>macros.xml</import>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
5 </macros>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
6 <expand macro="requirements" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
8 bam diff
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
9 --in1 '$in1'
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
10 --in2 '$in2'
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
11 #if $fields.choice == 'all':
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
12 --all
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
13 #elif $fields.choice == 'select':
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
14 $fields.flag
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
15 $fields.mapQual
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
16 $fields.mate
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
17 $fields.isize
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
18 $fields.seq
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
19 $fields.baseQual
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
20 $fields.noCigar
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
21 $fields.noPos
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
22 #if $fields.samtags.tagchoice == 'everyTag':
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
23 --everyTag
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
24 #elif $fields.samtags.tagchoice == 'specify':
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
25 --tags '$fields.samtags.tags'
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
26 #end if
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
27 #end if
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
28 --posDiff $posDiff
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
29 --recPoolSize -1
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
30 $onlyDiffs
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
31 --params
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
32 --noPhoneHome
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
33 --out $output_as
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
34 ]]></command>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
35 <inputs>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
36 <param argument="--in1" type="data" format="sam,bam" label="Input BAM 1"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
37 <param argument="--in2" type="data" format="sam,bam" label="Input BAM 2"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
38 <param argument="--posDiff" type="integer" value="100000" min="0" label="max base pair difference between possibly matching records"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
39 <param argument="--onlyDiffs" type="boolean" truevalue="--onlyDiffs" falsevalue="" checked="false" label="only print the fields that differ"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
40 <conditional name="fields">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
41 <param name="choice" type="select" label="BAM fields to diff">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
42 <option value="default" selected="true">Read Name, Flag Fragment bit, Position, Cigar</option>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
43 <option value="all">Diff all the SAM/BAM fields</option>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
44 <option value="select">Select SAM/BAM fields to diff</option>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
45 </param>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
46 <when value="default"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
47 <when value="all"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
48 <when value="select">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
49 <param argument="--flag" type="boolean" truevalue="--flag" falsevalue="" checked="false" label="diff the flags."/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
50 <param argument="--mapQual" type="boolean" truevalue="--mapQual" falsevalue="" checked="false" label="diff the mapping qualities."/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
51 <param argument="--mate" type="boolean" truevalue="--mate" falsevalue="" checked="false" label="diff the mate chrom/pos."/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
52 <param argument="--isize" type="boolean" truevalue="--isize" falsevalue="" checked="false" label="diff the insert sizes."/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
53 <param argument="--seq" type="boolean" truevalue="--seq" falsevalue="" checked="false" label="diff the sequence bases."/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
54 <param argument="--baseQual" type="boolean" truevalue="--baseQual" falsevalue="" checked="false" label="diff the base qualities."/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
55 <param argument="--noCigar" type="boolean" truevalue="--noCigar" falsevalue="" checked="false" label="do not diff the the cigars."/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
56 <param argument="--noPos" type="boolean" truevalue="--noPos" falsevalue="" checked="false" label="do not diff the positions."/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
57 <conditional name="samtags">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
58 <param name="tagchoice" type="select" label="Tags to diff">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
59 <option value="none">Do not diff tags</option>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
60 <option value="everyTag">Diff every tag</option>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
61 <option value="specify">Specify tags to diff</option>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
62 </param>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
63 <when value="none"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
64 <when value="everyTag"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
65 <when value="specify">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
66 <param argument="--tags" type="text" label="diff the specified Tags formatted as Tag:Type,Tag:Type,Tag:Type...">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
67 <validator type="regex" message="SAM 2-char Tag:type">^([A-Za-z][A-Za-z0-9]:[AifZHB])(,[A-Za-z][A-Za-z0-9]:[AifZHB])*$</validator>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
68 </param>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
69 </when>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
70 </conditional>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
71 </when>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
72 </conditional>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
73 <param name="output_as" type="select" label="Output format">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
74 <option value="diff.txt">ASCII text diff file</option>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
75 <option value="diff.bam">BAM files: diff, only_in_file1, only_in_file2</option>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
76 <option value="diff.sam">SAM files: diff, only_in_file1, only_in_file2</option>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
77 </param>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
78 </inputs>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
79 <outputs>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
80 <data name="diff_bam" format="bam" from_work_dir="diff.bam" label="${tool.name} on ${on_string}: diff.bam">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
81 <filter>output_as == 'diff.bam'</filter>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
82 </data>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
83 <data name="diff_only1_bam" format="bam" from_work_dir="diff_only1_*.bam" label="${tool.name} on ${on_string} only in: ${in1.element_identifier}">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
84 <filter>output_as == 'diff.bam'</filter>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
85 </data>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
86 <data name="diff_only2_bam" format="bam" from_work_dir="diff_only2_*.bam" label="${tool.name} on ${on_string} only in: ${in2.element_identifier}">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
87 <filter>output_as == 'diff.bam'</filter>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
88 </data>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
89 <data name="diff_sam" format="sam" from_work_dir="diff.sam" label="${tool.name} on ${on_string}: diff.sam">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
90 <filter>output_as == 'diff.sam'</filter>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
91 </data>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
92 <data name="diff_only1_sam" format="sam" from_work_dir="diff_only1_*.sam" label="${tool.name} on ${on_string} only in: ${in1.element_identifier}">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
93 <filter>output_as == 'diff.sam'</filter>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
94 </data>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
95 <data name="diff_only2_sam" format="sam" from_work_dir="diff_only2_*.sam" label="${tool.name} on ${on_string} only in: ${in2.element_identifier}">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
96 <filter>output_as == 'diff.sam'</filter>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
97 </data>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
98 <data name="diff_txt" format="txt" from_work_dir="diff.txt" label="${tool.name} on ${on_string}: diff.txt">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
99 <filter>output_as == 'diff.txt'</filter>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
100 </data>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
101 </outputs>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
102 <tests>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
103 <!-- Test-1 -->
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
104 <test>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
105 <param name="in1" ftype="sam" value="in1.sam"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
106 <param name="in2" ftype="sam" value="in2.sam"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
107 <param name="posDiff" value="100000"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
108 <param name="onlyDiffs" value="true"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
109 <conditional name="fields">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
110 <param name="choice" value="default"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
111 </conditional>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
112 <param name="output_as" value="diff.txt"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
113 <output name="diff_txt" file="diff.txt"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
114 <output name="diff_txt">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
115 <assert_contents>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
116 <has_text text="NB500964:249:HHLFNBGX7:3:21407:1974:9687" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
117 <has_text_matching expression="&lt;\t1a3\t74M74N1M" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
118 <has_text_matching expression="&gt;\ta3\t74M66N1M" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
119 </assert_contents>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
120 </output>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
121 </test>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
122
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
123 <!-- Test-2 -->
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
124 <test>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
125 <param name="in1" ftype="sam" value="in1.sam"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
126 <param name="in2" ftype="sam" value="in2.sam"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
127 <param name="posDiff" value="100000"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
128 <param name="onlyDiffs" value="true"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
129 <conditional name="fields">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
130 <param name="choice" value="select"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
131 <param name="flag" value="true"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
132 <param name="seq" value="true"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
133 <conditional name="samtags">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
134 <param name="tagchoice" value="specify"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
135 <param name="tags" value="AS:i,MD:Z"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
136 </conditional>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
137 </conditional>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
138 <param name="output_as" value="diff.sam"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
139 <output name="diff_sam">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
140 <assert_contents>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
141 <has_text text="NB500964:249:HHLFNBGX7:4:12608:21020:10228" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
142 <not_has_text text="NB500964:249:HHLFNBGX7:4:11510:10074:3541" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
143 <not_has_text text="NB500964:249:HHLFNBGX7:1:12312:5087:3846" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
144 </assert_contents>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
145 </output>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
146 <output name="diff_only1_sam">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
147 <assert_contents>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
148 <has_text text="NB500964:249:HHLFNBGX7:1:12312:5087:3846" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
149 <not_has_text text="NB500964:249:HHLFNBGX7:4:11510:10074:3541" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
150 <has_text text="TGTCACCCCATTGATCGCCAGGGTTGATTCGGCTGATCTGGCTGGCTAGGCGGGTGTCCCCTTCCTCCCTCACCG" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
151 <has_text text="AS:i:0" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
152 <has_text text="MD:Z:75" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
153 </assert_contents>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
154 </output>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
155 <output name="diff_only2_sam">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
156 <assert_contents>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
157 <has_text text="NB500964:249:HHLFNBGX7:4:11510:10074:3541" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
158 <not_has_text text="NB500964:249:HHLFNBGX7:1:12312:5087:3846" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
159 <has_text text="ATCTGTCACCCCATTGATCGCCAGGGTTGATTCGGCTGATCTGGCTGGCTAGGCGGGTGTCCCCTTCCTCCCTCA" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
160 <has_text text="AS:i:0" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
161 <has_text text="MD:Z:75" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
162 </assert_contents>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
163 </output>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
164 </test>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
165 <!-- Test-3 -->
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
166 <test>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
167 <param name="in1" ftype="sam" value="in1.sam"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
168 <param name="in2" ftype="sam" value="in3.sam"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
169 <param name="posDiff" value="100000"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
170 <param name="onlyDiffs" value="true"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
171 <conditional name="fields">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
172 <param name="choice" value="default"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
173 </conditional>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
174 <param name="output_as" value="diff.txt"/>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
175 <output name="diff_txt">
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
176 <assert_contents>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
177 <not_has_text text="NB500964:249:HHLFNBGX7:3:21407:1974:9687" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
178 </assert_contents>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
179 </output>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
180 </test>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
181 </tests>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
182 <help><![CDATA[
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
183 **bamUtil diff**
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
184
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
185 The diff option on the bamUtil executable prints the difference between two coordinate sorted SAM/BAM files. This can be used to compare the outputs of running a SAM/BAM through different tools/versions of tools.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
186 The diff tool compares records that have the same Read Name and Fragment (from the flag). If a matching ReadName & Fragment is not found, the record is considered to be different.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
187 diff assumes the files are coordinate sorted and uses this assumption for determining how long to store a record before determining that the other file does not contain a matching ReadName/Fragment. If the files are not coordinate sorted, this logic does not work.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
188 By default, just the chromosome/position and cigar are compared for each record.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
189 Note: The headers are not compared.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
190
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
191 Options are available to compare::
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
192
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
193 - all fields
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
194 - flags
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
195 - mapping quality
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
196 - mate chromosome/position
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
197 - insert size
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
198 - sequence
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
199 - base quality
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
200 - specified tags
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
201 - all tags
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
202 - turn off position comparison
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
203 - turn off cigar comparison
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
204
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
205 **Inputs**
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
206 Two BAM or SAM alignment files
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
207
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
208 **Outputs**
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
209 Choice of 2 Output Formats:
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
210
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
211 ::
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
212
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
213 **Diff Format**
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
214 There are 2 types of differences.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
215 ReadName/Fragment combo is in one file, but not in the other file within the window set by recPoolSize & posDiff
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
216 ReadName/Fragment combo is in both files, but at least one of the specified fields to diff is different
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
217 Each difference output consists of 2 or 3 lines. If the record only appears in one of the files, the diff is 2 lines, if it appears in both files, the diff is 3 lines.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
218 The first line of the difference output is just the read name.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
219 The 2nd and 3rd line (if present) begin with either a '<' or a '>'. If the record is from the first file (--in1), it begins with a '<'. If the record is from the 2nd file (--in2), it begins with a '>'.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
220 The 2nd line is the flag followed by the diff'd fields from one of the records.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
221 The 3rd line (if a matching record was found) is the flag followed by the diff'd fields from the matching record.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
222 The diff'd record lines are tab separated, and are in the following order if --onlyDiffs is not specified::
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
223
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
224 - '<' or '>'
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
225 - flag
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
226 - chrom:pos (chromosome name ':' 1 based position) - if --noPos is not specified
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
227 - cigar - if --noCigar is not specified
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
228 - mapping quality - if --mapq or --all is specified
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
229 - mate chrom:pos (chromosome name ':' 1 based position) - if --mate or --all is specified
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
230 - insert size - if --isize or --all is specified
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
231 - sequence - if --seq or --all is specified
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
232 - base quality - if --baseQual or --all is specified
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
233 - tag:type:value - for each tag:type specified in --tags or for every tag if --all or --everyTag specified
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
234
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
235
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
236 **BAM Format**
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
237 In SAM/BAM format there will be 3 output files::
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
238
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
239 1. the specified name with record diffs
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
240 2. specified name with _only_<in1>.sam/bam with records only in the in1 file
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
241 3. specified name with _only_<in2>.sam/bam with records only in the in2 file
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
242
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
243 Records that are identical in the two files are not written in any of these output files.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
244 When a record is found in both input files, but a difference is found, the record from the first file is written with additional tags to indicate the values from the second file, using the following tags::
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
245
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
246 - ZF - Flag
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
247 - ZP - Chromosome:1-based Position
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
248 - ZC - Cigar
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
249 - ZM - Mapping Quality
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
250 - ZN - Chromosome:1-based Mate Position
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
251 - ZI - Insert Size
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
252 - ZS - Sequence
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
253 - ZQ - Base Quality
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
254 - ZT - Tags
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
255
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
256 If --onlyDiffs is not specified, all fields that were compared will be printed in the tags. If --onlyDiffs is specified, then only the differing compared fields will be printed in the tags.
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
257
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
258
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
259
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
260
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
261 https://genome.sph.umich.edu/wiki/BamUtil:_diff
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
262
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
263 ]]></help>
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
264 <expand macro="citations" />
2cafa8420c04 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/bamutil/ commit c1945909ca200610f128577b68a82d9228905f3d-dirty"
jjohnson
parents:
diff changeset
265 </tool>