comparison tophat_fusion_post.xml @ 2:3279e193b966 draft default tip

planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
author devteam
date Tue, 13 Oct 2015 12:33:55 -0400
parents 47e483967b48
children
comparison
equal deleted inserted replaced
1:ae4ed992d98a 2:3279e193b966
1 <tool id="tophat_fusion_post" name="Tophat Fusion Post" version="0.1"> 1 <tool id="tophat_fusion_post" name="Tophat Fusion Post" version="0.1">
2 <description>post-processing to identify fusion genes</description> 2 <description>post-processing to identify fusion genes</description>
3 <version_command>tophat-fusion-post --version</version_command> 3 <version_command>tophat-fusion-post --version</version_command>
4 <requirements> 4 <requirements>
5 <requirement type="package">tophat2</requirement> 5 <requirement type="package" version="2.2.28">blast+</requirement>
6 <requirement type="package" version="0.12.7">bowtie</requirement>
7 <requirement type="package" version="2.0.9">tophat2</requirement>
6 </requirements> 8 </requirements>
7 <command> 9 <command>
8 ## Set up tophat_out structure. 10 ## Set up tophat_out structure.
9 mkdir tophat_out; ln -s $accepted_hits tophat_out/accepted_hits.bam; ln -s $fusions tophat_out/fusions.out; 11 mkdir tophat_out; ln -s $accepted_hits tophat_out/accepted_hits.bam; ln -s $fusions tophat_out/fusions.out;
10 12
11 ## Set up blast directory structure. 13 ## Set up blast directory structure.
12 #set blast_db_path = ${__get_data_table_entry__('tophat_fusion_blastdb_indexes', 'dbkey', $accepted_hits.dbkey, 'path')} 14 #set blast_db_path = $__get_data_table_entry__('tophat_fusion_blastdb_indexes', 'dbkey', $accepted_hits.dbkey, 'path')
13 ln -s ${blast_db_path}/ blast; 15 ln -s ${blast_db_path}/ blast;
14 16
15 ## Set up additional files: 17 ## Set up additional files:
16 ln -s ${blast_db_path}/refGene.txt .; 18 ln -s ${blast_db_path}/refGene.txt .;
17 ln -s ${blast_db_path}/ensGene.txt .; 19 ln -s ${blast_db_path}/ensGene.txt .;
18 ln -s ${blast_db_path}/mcl .; 20 ln -s ${blast_db_path}/mcl .;
19 21
20 ## Run tophat-fusion-post 22 ## Run tophat-fusion-post
21 tophat-fusion-post -p 22 23 tophat-fusion-post -p \${GALAXY_SLOTS:-4}
22 --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 24 --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
23 #if str($is_human) == 'No': 25 #if str($is_human) == 'No':
24 --non-human 26 --non-human
25 #end if 27 #end if
26 28
27 ## Bowtie2 indices. 29 ## Bowtie indices.
28 ${__get_data_table_entry__('bowtie2_indexes', 'dbkey', $accepted_hits.dbkey, 'path')} 30 ${__get_data_table_entry__('bowtie_indexes', 'value', $accepted_hits.dbkey, 'path')}
29 </command> 31 </command>
30 32
31 <inputs> 33 <inputs>
32 <param format="bam" name="accepted_hits" type="data" label="BAM file of aligned RNA-Seq reads" help=""/> 34 <param format="bam" name="accepted_hits" type="data" label="BAM file of aligned RNA-Seq reads" help=""/>
33 <param format="tabular" name="fusions" type="data" label="Tabular file of potential fusions" help=""/> 35 <param format="tabular" name="fusions" type="data" label="Tabular file of potential fusions" help=""/>
45 <stdio> 47 <stdio>
46 <regex match=".*" source="both" level="log" description="tool progress"/> 48 <regex match=".*" source="both" level="log" description="tool progress"/>
47 </stdio> 49 </stdio>
48 50
49 <outputs> 51 <outputs>
50 <data format="txt" name="results_txt" label="${tool.name} on ${on_string}: text results" from_work_dir="tophatfusion_out/result.txt"/> 52 <data format="tabular" name="results_txt" label="${tool.name} on ${on_string}: text results" from_work_dir="tophatfusion_out/result.txt"/>
51 <data format="html" name="results_html" label="${tool.name} on ${on_string}: html results" from_work_dir="tophatfusion_out/result.html"/> 53 <data format="html" name="results_html" label="${tool.name} on ${on_string}: html results" from_work_dir="tophatfusion_out/result.html"/>
52 </outputs> 54 </outputs>
55
53 </tool> 56 </tool>