annotate bam_to_scidx.xml @ 5:408520e1ae1a draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
author iuc
date Mon, 03 Jul 2017 10:09:42 -0400
parents b737f6d83f48
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
b737f6d83f48 Uploaded
iuc
parents: 3
diff changeset
1 <tool id="bam_to_scidx" name="Convert BAM to ScIdx" version="1.0.1">
0
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
2 <description></description>
1
ebbf2a6a4c55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit f33b04533bca91242b8a0a4077e1d593f5a874e0
iuc
parents: 0
diff changeset
3 <requirements>
4
b737f6d83f48 Uploaded
iuc
parents: 3
diff changeset
4 <requirement type="package" version="8.0.112">openjdk</requirement>
1
ebbf2a6a4c55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit f33b04533bca91242b8a0a4077e1d593f5a874e0
iuc
parents: 0
diff changeset
5 </requirements>
5
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
7 ln -s '${input_bam}' localbam.bam &&
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
8 ln -f -s '${input_bam.metadata.bam_index}' localbam.bam.bai &&
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
9 java -jar '$__tool_directory__/BAMtoscIDX.jar'
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
10 -b localbam.bam
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
11 -i localbam.bam.bai
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
12 -p $require_proper_mate_pairing
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
13 -r $read
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
14 #if str($min_insert_size):
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
15 -m $min_insert_size
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
16 #end if
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
17 #if str($max_insert_size):
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
18 -M $max_insert_size
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
19 #end if
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
20 -o '$output'
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
21 1>/dev/null
408520e1ae1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit cadf726e05de4dfc4f2cf708674fcd2828e4c319
iuc
parents: 4
diff changeset
22 ]]></command>
0
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
23 <inputs>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
24 <param name="input_bam" type="data" format="bam" label="BAM file" />
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
25 <param name="require_proper_mate_pairing" type="select" label="Require proper mate-pairing?" help="Required if filtering by insert size for single-end Reqd 1 (below)." >
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
26 <option value="1" selected="True">Yes</option>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
27 <option value="0">No</option>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
28 </param>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
29 <param name="read" type="select" label="Read to output">
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
30 <option value="0" selected="True">Read1</option>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
31 <option value="1">Read2</option>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
32 <option value="2">Combined</option>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
33 </param>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
34 <param name="min_insert_size" type="integer" value="" optional="True" min="0" label="Minimum insert size to output" help="Will not filter out single-end Read 1 unless proper mate-pairing is required (above)."/>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
35 <param name="max_insert_size" type="integer" value="" optional="True" min="0" label="Maximum insert size to output" help="Will not filter out single-end Read 1 unless proper mate-pairing is required (above)." />
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
36 </inputs>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
37 <outputs>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
38 <data name="output" format="scidx" />
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
39 </outputs>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
40 <tests>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
41 <test>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
42 <param name="input_bam" value="input.bam" ftype="bam" />
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
43 <param name="require_proper_mate_pairing" value="1" />
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
44 <param name="read" value="0" />
1
ebbf2a6a4c55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit f33b04533bca91242b8a0a4077e1d593f5a874e0
iuc
parents: 0
diff changeset
45 <output name="output" file="output.scidx" lines_diff="1" ftype="scidx" compare="contains" />
0
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
46 </test>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
47 </tests>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
48 <help>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
49
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
50 **What it does**
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
51
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
52 Converts BAM data to ScIdx, the Strand-specific coordinate count format, which is used by tools within
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
53 the Chip-exo Galaxy flavor. ScIdx files are 1-based. The format consists of 5 columns: the chromosome,
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
54 the position of the genomic coordinate, the number of tags on the forward strand, the number of tags on
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
55 the reverse strand and the number of total tags on the position. With pair-end reads, only the 5’ end of
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
56 READ1 will be used to create the ScIdx data file. Tools that use this format include GeneTrack and MultiGPS.
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
57
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
58 -----
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
59
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
60 **Options**
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
61
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
62 * **Require proper mate-pairing?** - Select **Yes** to require proper mate paring. Filtering by insert size parameters will not filter out single-end Read 1 unless proper mate-pairing is required.
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
63 * **Minimum insert size to output** - Insert size below the minimum will be filtered from the results, but single-end Read 1 will not be filtered unless proper mate-pairing is required.
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
64 * **Maximum insert size to output** - Insert size above the maximum will be filtered from the results, but single-end Read 1 will not be filtered unless proper mate-pairing is required.
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
65
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
66 </help>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
67 <citations>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
68 <citation type="bibtex">
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
69 @unpublished{None,
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
70 author = {Lai, William},
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
71 title = {None},
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
72 year = {None},
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
73 eprint = {None},
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
74 url = {http://www.huck.psu.edu/content/research/independent-centers-excellence/center-for-eukaryotic-gene-regulation}
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
75 }</citation>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
76 </citations>
741b8af6386c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
iuc
parents:
diff changeset
77 </tool>