Mercurial > repos > iuc > bam_to_scidx
comparison bam_to_scidx.xml @ 0:741b8af6386c draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bam_to_scidx commit dfaab7cbfdee82c9fe4ff34ce02b42fc456b9db9
author | iuc |
---|---|
date | Sat, 12 Dec 2015 15:46:03 -0500 |
parents | |
children | ebbf2a6a4c55 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:741b8af6386c |
---|---|
1 <tool id="bam_to_scidx" name="Convert BAM to ScIdx" version="1.0.0"> | |
2 <description></description> | |
3 <command> | |
4 <![CDATA[ | |
5 ln -f -s "${input_bam.metadata.bam_index}" "${input_bam}.bai" && | |
6 java -jar $__tool_directory__/BAMtoscIDX.jar -b "$input_bam" -i "${input_bam}.bai" -p $require_proper_mate_pairing -r $read -m $min_insert_size -M $max_insert_size -o "$output" 1>/dev/null | |
7 ]]> | |
8 </command> | |
9 <inputs> | |
10 <param name="input_bam" type="data" format="bam" label="BAM file" /> | |
11 <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)." > | |
12 <option value="1" selected="True">Yes</option> | |
13 <option value="0">No</option> | |
14 </param> | |
15 <param name="read" type="select" label="Read to output"> | |
16 <option value="0" selected="True">Read1</option> | |
17 <option value="1">Read2</option> | |
18 <option value="2">Combined</option> | |
19 </param> | |
20 <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)."/> | |
21 <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)." /> | |
22 </inputs> | |
23 <outputs> | |
24 <data name="output" format="scidx" /> | |
25 </outputs> | |
26 <tests> | |
27 <test> | |
28 <param name="input_bam" value="input.bam" ftype="bam" /> | |
29 <param name="require_proper_mate_pairing" value="1" /> | |
30 <param name="read" value="0" /> | |
31 <output name="output" file="output.scidx" lines_diff="1" ftype="scidx" /> | |
32 </test> | |
33 </tests> | |
34 <help> | |
35 | |
36 **What it does** | |
37 | |
38 Converts BAM data to ScIdx, the Strand-specific coordinate count format, which is used by tools within | |
39 the Chip-exo Galaxy flavor. ScIdx files are 1-based. The format consists of 5 columns: the chromosome, | |
40 the position of the genomic coordinate, the number of tags on the forward strand, the number of tags on | |
41 the reverse strand and the number of total tags on the position. With pair-end reads, only the 5’ end of | |
42 READ1 will be used to create the ScIdx data file. Tools that use this format include GeneTrack and MultiGPS. | |
43 | |
44 ----- | |
45 | |
46 **Options** | |
47 | |
48 * **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. | |
49 * **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. | |
50 * **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. | |
51 | |
52 </help> | |
53 <citations> | |
54 <citation type="bibtex"> | |
55 @unpublished{None, | |
56 author = {Lai, William}, | |
57 title = {None}, | |
58 year = {None}, | |
59 eprint = {None}, | |
60 url = {http://www.huck.psu.edu/content/research/independent-centers-excellence/center-for-eukaryotic-gene-regulation} | |
61 }</citation> | |
62 </citations> | |
63 </tool> |