annotate countandcluster/countandcluster.xml @ 1:1a2a9b1cfd93 draft default tip

Uploaded
author jshay
date Tue, 20 Aug 2019 11:23:10 -0400
parents c516cb51d12c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
1a2a9b1cfd93 Uploaded
jshay
parents: 0
diff changeset
1 <tool id="hitsandclusters" name="Count hits per gene and cluster" version="0.1.1">
1a2a9b1cfd93 Uploaded
jshay
parents: 0
diff changeset
2 <description> given a bam file and list with clusters.</description>
0
c516cb51d12c Uploaded
jshay
parents:
diff changeset
3 <requirements>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
4 <requirement type="package" version="3.6.7">python</requirement>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
5 <requirement type="package" version="0.15.2">pysam</requirement>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
6 <requirement type="package" version="0.24.1">pandas</requirement>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
7 <requirement type="package" version="1.15.4">numpy</requirement>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
8 </requirements>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
c516cb51d12c Uploaded
jshay
parents:
diff changeset
10 python '$__tool_directory__/countandcluster.py' -c '$clusters' -b '$bam' -p '$prop' -g '$out1' -i '${bam.metadata.bam_index}' -o '$out2'
c516cb51d12c Uploaded
jshay
parents:
diff changeset
11 ]]></command>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
12 <inputs>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
13 <param type="data" name="clusters" format="tabular" />
c516cb51d12c Uploaded
jshay
parents:
diff changeset
14 <param type="data" name="bam" format="bam" />
c516cb51d12c Uploaded
jshay
parents:
diff changeset
15 <param type="float" name="prop" value="0.9" />
c516cb51d12c Uploaded
jshay
parents:
diff changeset
16 </inputs>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
17 <outputs>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
18 <data name="out1" format="tabular" />
c516cb51d12c Uploaded
jshay
parents:
diff changeset
19 <data name="out2" format="tabular" />
c516cb51d12c Uploaded
jshay
parents:
diff changeset
20 </outputs>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
21 <tests>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
22 <test>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
23 <param name="clusters" value="megares_subset.tsv"/>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
24 <param name="bam" value="test.bam"/>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
25 <param name="prop" value="0.5"/>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
26 <output name="out1" file="geneout.tsv"/>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
27 <output name="out2" file="clusterout.tsv"/>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
28 </test>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
29 </tests>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
30 <help><![CDATA[
c516cb51d12c Uploaded
jshay
parents:
diff changeset
31 usage: countandcluster.py [-h] [-b BAM] [-i INDEX] -c CLUSTERS [-p MINPROP] [-g GENEOUT] [-o CLUSTEROUT]
c516cb51d12c Uploaded
jshay
parents:
diff changeset
32
c516cb51d12c Uploaded
jshay
parents:
diff changeset
33 optional arguments:
c516cb51d12c Uploaded
jshay
parents:
diff changeset
34 -h, --help show this help message and exit
c516cb51d12c Uploaded
jshay
parents:
diff changeset
35 -b BAM bam alignment file
c516cb51d12c Uploaded
jshay
parents:
diff changeset
36 -i INDEX bam index
c516cb51d12c Uploaded
jshay
parents:
diff changeset
37 -c CLUSTERS Tab-delimited file with genes and clusters
c516cb51d12c Uploaded
jshay
parents:
diff changeset
38 -p MINPROP minimum proportion of cluster covered
c516cb51d12c Uploaded
jshay
parents:
diff changeset
39 -g GENEOUT output file for gene counts
c516cb51d12c Uploaded
jshay
parents:
diff changeset
40 -o CLUSTEROUT output file for cluster counts
c516cb51d12c Uploaded
jshay
parents:
diff changeset
41
c516cb51d12c Uploaded
jshay
parents:
diff changeset
42 ]]></help>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
43 <citations>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
44 <citation type="bibtex">
c516cb51d12c Uploaded
jshay
parents:
diff changeset
45 @misc{githubhitsandclusters,
1
1a2a9b1cfd93 Uploaded
jshay
parents: 0
diff changeset
46 author = {Shay, Julie},
1a2a9b1cfd93 Uploaded
jshay
parents: 0
diff changeset
47 year = {2019},
0
c516cb51d12c Uploaded
jshay
parents:
diff changeset
48 title = {hitsandclusters},
c516cb51d12c Uploaded
jshay
parents:
diff changeset
49 publisher = {GitHub},
c516cb51d12c Uploaded
jshay
parents:
diff changeset
50 journal = {GitHub repository},
c516cb51d12c Uploaded
jshay
parents:
diff changeset
51 url = {https://github.com/jashay90/galaxytools},
c516cb51d12c Uploaded
jshay
parents:
diff changeset
52 }</citation>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
53 </citations>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
54 </tool>
c516cb51d12c Uploaded
jshay
parents:
diff changeset
55