Mercurial > repos > iuc > pe_histogram
annotate pe_histogram.xml @ 3:99c86046c72a draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
| author | iuc |
|---|---|
| date | Tue, 11 Jul 2017 14:36:43 -0400 |
| parents | d23480305b5a |
| children | 784273cfcebc |
| rev | line source |
|---|---|
|
2
d23480305b5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 37b1832f15c9960e02c6cae831b1f9f717818af8
iuc
parents:
0
diff
changeset
|
1 <tool id="pe_histogram" name="Paired-end histogram" version="1.0.1"> |
| 0 | 2 <description>of insert size frequency</description> |
| 3 <requirements> | |
|
2
d23480305b5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 37b1832f15c9960e02c6cae831b1f9f717818af8
iuc
parents:
0
diff
changeset
|
4 <requirement type="package" version="8.0.112">openjdk</requirement> |
| 0 | 5 </requirements> |
|
3
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
6 <command detect_errors="aggressive"><![CDATA[ |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
7 ln -s '${input_bam}' localbam.bam && |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
8 ln -f -s '${input_bam.metadata.bam_index}' localbam.bam.bai && |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
9 java -jar '$__tool_directory__/PEHistogram.jar' |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
10 -B localbam.bam |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
11 -I localbam.bam.bai |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
12 #if str($lower_limit): |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
13 -l $lower_limit |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
14 #end if |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
15 #if str($upper_limit): |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
16 -u $upper_limit |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
17 #end if |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
18 -p '$output1' |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
19 -t '$output2' |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
20 1>/dev/null |
|
99c86046c72a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pe_histogram commit 3954cb556516f7154287656f492e2e20e5776fb3
iuc
parents:
2
diff
changeset
|
21 ]]></command> |
| 0 | 22 <inputs> |
| 23 <param name="input_bam" type="data" format="bam" label="BAM file" /> | |
| 24 <param name="lower_limit" type="integer" value="" optional="True" min="0" label="Lower bp limit (optional)" help="The lower bp limit on insert size for calculating the histogram."/> | |
| 25 <param name="upper_limit" type="integer" value="" optional="True" min="0" label="Upper bp limit (optional)" help="The upper bp limit on insert size for calculating the histogram." /> | |
| 26 </inputs> | |
| 27 <outputs> | |
| 28 <data name="output1" format="png" /> | |
| 29 <data name="output2" format="tabular" /> | |
| 30 </outputs> | |
| 31 <tests> | |
| 32 <test> | |
| 33 <param name="input_bam" value="input.bam" ftype="bam" /> | |
| 34 <output name="output1" file="output1.png" ftype="png" compare="sim_size" /> | |
| 35 <output name="output2" file="output1.tabular" ftype="tabular" compare="contains" /> | |
| 36 </test> | |
| 37 <test> | |
| 38 <param name="input_bam" value="input.bam" ftype="bam" /> | |
| 39 <param name="lower_limit" value="200" /> | |
| 40 <param name="upper_limit" value="300" /> | |
| 41 <output name="output1" file="output2.png" ftype="png" compare="sim_size" /> | |
| 42 <output name="output2" file="output2.tabular" ftype="tabular" compare="contains" /> | |
| 43 </test> | |
| 44 </tests> | |
| 45 <help> | |
| 46 | |
| 47 **What it does** | |
| 48 | |
| 49 Produces an insert size histogram and basic statistics for a paired-end BAM file. Two outputs are produced: | |
| 50 | |
| 51 - a png image consisting of the histogram of the insert size frequency | |
| 52 - a tabular file containing the alignment statistics | |
| 53 | |
| 54 ----- | |
| 55 | |
| 56 **Options** | |
| 57 | |
| 58 * **Lower bp limit** - the lower bp limit on insert size for calculating the histogram. | |
| 59 * **Upper bp limit** - the upper bp limit on insert size for calculating the histogram. | |
| 60 | |
| 61 </help> | |
| 62 <citations> | |
| 63 <citation type="bibtex"> | |
| 64 @unpublished{None, | |
| 65 author = {Lai, William}, | |
| 66 title = {None}, | |
| 67 year = {None}, | |
| 68 eprint = {None}, | |
| 69 url = {http://www.huck.psu.edu/content/research/independent-centers-excellence/center-for-eukaryotic-gene-regulation} | |
| 70 }</citation> | |
| 71 </citations> | |
| 72 </tool> |
