annotate alignment_size_distribution.xml @ 4:f1eeaf42144b draft default tip

planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit c8e0a703fcdff580ba0a0c5806a37c088c03ab7b-dirty
author mvdbeek
date Mon, 20 Aug 2018 14:46:57 -0400
parents 21b5a9170b90
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
1 <tool id="alignment_size_distribution" name="Create size distribution for alignment files" version="0.1.0">
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
2 <requirements>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
3 <requirement type="package" version="6.7">click</requirement>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
4 <requirement type="package" version="0.23">pandas</requirement>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
5 <requirement type="package" version="0.15">pysam</requirement>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
6 </requirements>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
1
3ed18dcb6f82 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit a0c9f33672103cf29ad015477ebb898007ba9ae8
mvdbeek
parents: 0
diff changeset
8 python '$__tool_directory__/size_distributions.py' '$alignment_file' --minimum_size $minimum_size --maximum_size $maximum_size $wide --output '$distribution'
0
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
9 ]]></command>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
10 <inputs>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
11 <param name="alignment_file" type="data" format="bam,unsorted.bam"/>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
12 <param argument="--minimum_size" type="integer" value="18" min="1" label="Minimum read length to consider"/>
3
21b5a9170b90 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit c8e0a703fcdff580ba0a0c5806a37c088c03ab7b
mvdbeek
parents: 2
diff changeset
13 <param argument="--maximum_size" type="integer" value="30" min="1" label="Maximum read length to consider"/>
2
c8c7b6113241 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit a0c9f33672103cf29ad015477ebb898007ba9ae8-dirty
mvdbeek
parents: 1
diff changeset
14 <param argument="--wide" type="boolean" checked="false" truevalue="--wide" falsevalue="--long" label="Output wide instead of long tabular format"/>
0
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
15 </inputs>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
16 <outputs>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
17 <data name="distribution" format="tabular"/>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
18 </outputs>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
19 <tests>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
20 <test>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
21 <param name="alignment_file" value="test_data.bam" ftype="bam"/>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
22 <output name="distribution" value="distribution.tab" ftype="tabular"/>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
23 </test>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
24 </tests>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
25 <help><![CDATA[
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
26 Generates a table with reference sequence, sense and antisense counts.
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
27 ]]></help>
ac5584567084 planemo upload for repository https://github.com/bardin-lab/smallRNA_tools commit 48d9f377e28d686c2e0d8eee6684e34c52b7b3cc
mvdbeek
parents:
diff changeset
28 </tool>