annotate tophat_fusion_post.xml @ 2:664f7d964231

Uploaded tool_dependencies.xml
author devteam
date Sun, 09 Feb 2014 15:48:15 -0500
parents 75845643f9dd
children 2f75d0317ee5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
1 <tool id="tophat_fusion_post" name="Tophat Fusion Post" version="0.1">
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
2 <description>post-processing to identify fusion genes</description>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
3 <version_command>tophat-fusion-post --version</version_command>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
4 <requirements>
1
75845643f9dd Requirement fixes and fixed sample loc file."
devteam@galaxyproject.org
parents: 0
diff changeset
5 <requirement type="package" version="2.2.28">blast+</requirement>
75845643f9dd Requirement fixes and fixed sample loc file."
devteam@galaxyproject.org
parents: 0
diff changeset
6 <requirement type="package" version="2.1.0">bowtie2</requirement>
0
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
7 </requirements>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
8 <command>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
9 ## Set up tophat_out structure.
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
10 mkdir tophat_out; ln -s $accepted_hits tophat_out/accepted_hits.bam; ln -s $fusions tophat_out/fusions.out;
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
11
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
12 ## Set up blast directory structure.
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
13 #set blast_db_path = ${__get_data_table_entry__('tophat_fusion_blastdb_indexes', 'dbkey', $accepted_hits.dbkey, 'path')}
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
14 ln -s ${blast_db_path}/ blast;
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
15
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
16 ## Set up additional files:
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
17 ln -s ${blast_db_path}/refGene.txt .;
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
18 ln -s ${blast_db_path}/ensGene.txt .;
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
19 ln -s ${blast_db_path}/mcl .;
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
20
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
21 ## Run tophat-fusion-post
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
22 tophat-fusion-post -p 22
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
23 --num-fusion-reads $num_fusion_reads --num-fusion-pairs $num_fusion_pairs --num-fusion-both $num_fusion_both --fusion-read-mismatches $fusion_read_mismatches --fusion-multireads $fusion_multireads
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
24 #if str($is_human) == 'No':
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
25 --non-human
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
26 #end if
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
27
1
75845643f9dd Requirement fixes and fixed sample loc file."
devteam@galaxyproject.org
parents: 0
diff changeset
28 ## Bowtie2 indices.
75845643f9dd Requirement fixes and fixed sample loc file."
devteam@galaxyproject.org
parents: 0
diff changeset
29 ${__get_data_table_entry__('bowtie2_indexes', 'dbkey', $accepted_hits.dbkey, 'path')}
0
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
30 </command>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
31
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
32 <inputs>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
33 <param format="bam" name="accepted_hits" type="data" label="BAM file of aligned RNA-Seq reads" help=""/>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
34 <param format="tabular" name="fusions" type="data" label="Tabular file of potential fusions" help=""/>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
35 <param name="num_fusion_reads" type="integer" value="3" label="Num Fusion Reads" help="Fusions with at least this many supporting reads will be reported."/>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
36 <param name="num_fusion_pairs" type="integer" value="2" label="Num Fusion Pairs" help="Fusions with at least this many supporting pairs will be reported."/>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
37 <param name="num_fusion_both" type="integer" value="0" label="Num Fusion Reads + Pairs" help="The sum of supporting reads and pairs is at least this number for a fusion to be reported."/>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
38 <param name="fusion_read_mismatches" type="integer" value="2" label="Fusion Read Mismatches" help="Reads support fusions if they map across fusion with at most this many mismatches."/>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
39 <param name="fusion_multireads" type="integer" value="2" label="Reads that map to more than this many places will be ignored." help=""/>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
40 <param name="is_human" type="select" label="Is your data from humans?">
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
41 <option value="Yes" selected="True">Yes</option>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
42 <option value="No">No</option>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
43 </param>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
44 </inputs>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
45
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
46 <stdio>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
47 <regex match=".*" source="both" level="log" description="tool progress"/>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
48 </stdio>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
49
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
50 <outputs>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
51 <data format="txt" name="results_txt" label="${tool.name} on ${on_string}: text results" from_work_dir="tophatfusion_out/result.txt"/>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
52 <data format="html" name="results_html" label="${tool.name} on ${on_string}: html results" from_work_dir="tophatfusion_out/result.html"/>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
53 </outputs>
70f710e91120 Initial upload
devteam@galaxyproject.org
parents:
diff changeset
54 </tool>