annotate transindel.xml @ 3:eddf2f556a92 draft default tip

"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit af32e767fd29667d3e29f1a202ad59d3dd498c84-dirty"
author jjohnson
date Mon, 30 Mar 2020 22:06:19 -0400
parents ba3910d7bd99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
1 <tool id="transindel" name="transIndel" version="@VERSION@.0" python_template_version="3.5">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
2 <description>detect indels from RNAseq or DNAseq BWA-MEM mapping</description>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
3 <macros>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
4 <import>macros.xml</import>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
5 </macros>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
6 <expand macro="requirements" />
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
7 <expand macro="version_command" />
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
3
eddf2f556a92 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit af32e767fd29667d3e29f1a202ad59d3dd498c84-dirty"
jjohnson
parents: 0
diff changeset
9 ln -s -f '${analyze.input}' 'input.bam' &&
eddf2f556a92 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit af32e767fd29667d3e29f1a202ad59d3dd498c84-dirty"
jjohnson
parents: 0
diff changeset
10 ln -s -f '${analyze.input.metadata.bam_index}' 'input.bai' &&
0
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
11 #if $analyze.input_src == 'RNA'
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
12 #if $analyze.rfasta.rfasta_source == "history":
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
13 ln -s '$analyze.rfasta.ref_fa_hist' ref.fa &&
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
14 #else:
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
15 ln -s '$analyze.rfasta.ref_fa_builtin.fields.path' ref.fa &&
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
16 #end if
3
eddf2f556a92 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit af32e767fd29667d3e29f1a202ad59d3dd498c84-dirty"
jjohnson
parents: 0
diff changeset
17 transIndel_build_RNA.py -i 'input.bam' -o 'transIndel.bam'
0
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
18 ## Get reference FASTA
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
19 -r ref.fa
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
20 ## Get reference GTF
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
21 #if $analyze.rgtf.rgtf_source == "history":
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
22 -g '$analyze.rgtf.ref_gtf_hist'
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
23 #else:
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
24 -g '$analyze.rgtf.ref_gtf_builtin.fields.path'
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
25 #end if
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
26 --mapq_cutoff $analyze.mapq_cutoff
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
27 --max_del_length $analyze.max_del_length
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
28 #if $analyze.transIndel_call.run_transIndel_call == 'yes'
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
29 && transIndel_call.py -i 'transIndel.bam' -o transIndel
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
30 -r ref.fa
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
31 -c $analyze.transIndel_call.call_opts.min_observation_count
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
32 -d $analyze.transIndel_call.call_opts.min_depth
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
33 -f $analyze.transIndel_call.call_opts.min_allele_frequency
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
34 -l $analyze.transIndel_call.call_opts.min_length
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
35 -m $analyze.transIndel_call.call_opts.min_mapq
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
36 #if $analyze.transIndel_call.call_opts.regions.regions_source != 'none':
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
37 -t '$analyze.transIndel_call.call_opts.regions.target'
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
38 #end if
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
39 #end if
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
40 #elif $analyze.input_src == 'DNA'
3
eddf2f556a92 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit af32e767fd29667d3e29f1a202ad59d3dd498c84-dirty"
jjohnson
parents: 0
diff changeset
41 transIndel_build_DNA.py -i 'input.bam' -o 'transIndel.bam'
0
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
42 --mapq_cutoff $analyze.mapq_cutoff
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
43 --max_del_length $analyze.max_del_length
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
44 #if $analyze.transIndel_call.run_transIndel_call == 'yes'
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
45 #if $analyze.rfasta.rfasta_source == "history":
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
46 && ln -s '$analyze.transIndel_call.rfasta.ref_fa_hist' ref.fa
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
47 #else:
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
48 && ln -s '$analyze.transIndel_call.rfasta.ref_fa_builtin.fields.path' ref.fa
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
49 #end if
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
50 && transIndel_call.py -i 'transIndel.bam' -o transIndel
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
51 -r ref.fa
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
52 -c $analyze.transIndel_call.call_opts.min_observation_count
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
53 -d $analyze.transIndel_call.call_opts.min_depth
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
54 -f $analyze.transIndel_call.call_opts.min_allele_frequency
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
55 -l $analyze.transIndel_call.call_opts.min_length
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
56 -m $analyze.transIndel_call.call_opts.min_mapq
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
57 #if $analyze.transIndel_call.call_opts.regions.regions_source != 'none':
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
58 -t '$analyze.transIndel_call.call_opts.regions.target'
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
59 #end if
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
60 #end if
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
61 #elif $analyze.input_src == 'transIndel'
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
62 #if $analyze.rfasta.rfasta_source == "history":
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
63 ln -s '$analyze.rfasta.ref_fa_hist' ref.fa &&
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
64 #else:
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
65 ln -s '$analyze.rfasta.ref_fa_builtin.fields.path' ref.fa &&
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
66 #end if
3
eddf2f556a92 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit af32e767fd29667d3e29f1a202ad59d3dd498c84-dirty"
jjohnson
parents: 0
diff changeset
67 transIndel_call.py -i 'input.bam' -o 'transIndel'
eddf2f556a92 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit af32e767fd29667d3e29f1a202ad59d3dd498c84-dirty"
jjohnson
parents: 0
diff changeset
68 -r ref.fa
0
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
69 -c $analyze.call_opts.min_observation_count
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
70 -d $analyze.call_opts.min_depth
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
71 -f $analyze.call_opts.min_allele_frequency
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
72 -l $analyze.call_opts.min_length
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
73 -m $analyze.call_opts.min_mapq
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
74 #if $analyze.call_opts.regions.regions_source != 'none':
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
75 -t '$analyze.call_opts.regions.target'
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
76 #end if
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
77 #end if
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
78 ]]></command>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
79 <inputs>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
80 <conditional name="analyze">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
81 <param name="input_src" type="select" label="">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
82 <option value="RNA">RNA bwa-mem bam</option>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
83 <option value="DNA">DNA bwa-mem bam</option>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
84 <option value="transIndel">transIndel bam</option>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
85 </param>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
86 <when value="RNA">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
87 <param name="input" type="data" format="bam" label="bwa-mem bam from RNAseq data"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
88 <expand macro="reference_genome"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
89 <expand macro="reference_gtf"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
90 <param name="splice_site_half_bin_size" argument="-s" type="integer" value="20" min="0" label="splice site half bin size" help="(splice site half bin size)"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
91 <expand macro="build_opts" token_default_mapq_cutoff="60"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
92 <expand macro="transindel_call"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
93 </when>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
94 <when value="DNA">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
95 <param name="input" type="data" format="bam" label="bwa-mem bam from DNAseq data"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
96 <expand macro="build_opts" token_default_mapq_cutoff="15"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
97 <expand macro="transindel_call">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
98 <expand macro="reference_genome"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
99 </expand>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
100 </when>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
101 <when value="transIndel">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
102 <param name="input" type="data" format="bam" label="transIndel bam"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
103 <expand macro="reference_genome"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
104 <expand macro="call_opts"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
105 </when>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
106 </conditional>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
107 </inputs>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
108 <outputs>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
109 <data name="output_bam" format="bam" label="${tool.name} on ${on_string}: transIndel.bam" from_work_dir="transIndel.bam">
3
eddf2f556a92 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit af32e767fd29667d3e29f1a202ad59d3dd498c84-dirty"
jjohnson
parents: 0
diff changeset
110 <filter>analyze['input_src'] != 'transIndel'</filter>
0
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
111 </data>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
112 <data name="output_vcf" format="vcf" label="${tool.name} on ${on_string}: transIndel.indel.vcf" from_work_dir="transIndel.indel.vcf" >
3
eddf2f556a92 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit af32e767fd29667d3e29f1a202ad59d3dd498c84-dirty"
jjohnson
parents: 0
diff changeset
113 <filter>analyze['input_src'] == 'transIndel' or analyze['transIndel_call']['run_transIndel_call'] == 'yes'</filter>
0
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
114 </data>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
115 </outputs>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
116 <tests>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
117 <test>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
118 <conditional name="analyze">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
119 <param name="input_src" value="RNA"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
120 <param name="input" ftype="bam" value="RNA.bam"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
121 <conditional name="rfasta">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
122 <param name="rfasta_source" value="history"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
123 <param name="ref_fa_hist" ftype="fasta" value="GRCh38_20.fa" />
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
124 </conditional>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
125 <conditional name="rgtf">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
126 <param name="rgtf_source" value="history"/>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
127 <param name="ref_gtf_hist" ftype="gtf" value="GRCh38_20.gtf" />
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
128 </conditional>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
129 </conditional>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
130 <output name="output_vcf">
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
131 <assert_contents>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
132 <has_text text="SVTYPE=DEL" />
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
133 </assert_contents>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
134 </output>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
135 </test>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
136 </tests>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
137 <help><![CDATA[
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
138 TODO: Fill in help.
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
139 ]]></help>
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
140 <expand macro="citations" />
ba3910d7bd99 "planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff changeset
141 </tool>