annotate countandcluster/countandcluster.xml @ 0:c516cb51d12c draft

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