0
|
1 <tool id="bam_to_scidx" name="Convert BAM to ScIdx" version="1.0.0">
|
|
2 <description></description>
|
|
3 <command>
|
|
4 <![CDATA[
|
|
5 python $__tool_directory__/bam_to_scidx.py
|
|
6 -j $__tool_directory__/BAMtoIDX.jar
|
|
7 -b "$input_bam"
|
|
8 -i "${input_bam.metadata.bam_index}"
|
|
9 -r $read
|
|
10 -o "$output"
|
|
11 ]]>
|
|
12 </command>
|
|
13 <inputs>
|
|
14 <param name="input_bam" type="data" format="bam" label="BAM file" help="BAM file must be sorted and indexed" />
|
|
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 </inputs>
|
|
21 <outputs>
|
|
22 <data name="output" format="scidx" label="${tool.name} on ${on_string}" />
|
|
23 </outputs>
|
|
24 <tests>
|
|
25 <test>
|
|
26 <param name="input" value="input.bam" ftype="bam" />
|
|
27 <param name="read" value="0" />
|
1
|
28 <output name="output" file="output.scidx" lines_diff="1" />
|
0
|
29 </test>
|
|
30 </tests>
|
|
31 <help>
|
|
32
|
|
33 **What it does**
|
|
34
|
1
|
35 Converts BAM data to ScIdx, the Strand-specific coordinate count format, which is used by tools within
|
|
36 the Chip-exo Galaxy flavor. ScIdx files are 1-based. The format consists of 5 columns: the chromosome,
|
|
37 the position of the genomic coordinate, the number of tags on the forward strand, the number of tags on
|
|
38 the reverse strand and the number of total tags on the position. With pair-end reads, only the 5’ end of
|
|
39 READ1 will be used to create the ScIdx data file. Tools that use this format include GeneTrack and MultiGPS.
|
0
|
40
|
|
41 </help>
|
|
42 <citations>
|
|
43 <citation type="bibtex">
|
|
44 @unpublished{None,
|
|
45 author = {None},
|
|
46 title = {None},
|
|
47 year = {None},
|
|
48 eprint = {None},
|
|
49 url = {http://www.huck.psu.edu/content/research/independent-centers-excellence/center-for-eukaryotic-gene-regulation}
|
|
50 }</citation>
|
|
51 </citations>
|
|
52 </tool>
|