Mercurial > repos > jjohnson > transindel
annotate transindel.xml @ 2:42d0c1c21cd4 draft
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit 057ed8ab513cdb8d8b36929a82ea75f7ddc7889d-dirty"
author | jjohnson |
---|---|
date | Fri, 27 Mar 2020 12:06:25 -0400 |
parents | ba3910d7bd99 |
children | eddf2f556a92 |
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[ |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
9 #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
|
10 #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
|
11 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
|
12 #else: |
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_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
|
14 #end if |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
15 transIndel_build_RNA.py -i '$analyze.input' -o 'transIndel.bam' |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
16 ## Get reference FASTA |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
17 -r ref.fa |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
18 ## Get reference GTF |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
19 #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
|
20 -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
|
21 #else: |
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_builtin.fields.path' |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
23 #end if |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
24 --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
|
25 --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
|
26 #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
|
27 && 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
|
28 -r ref.fa |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
29 -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
|
30 -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
|
31 -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
|
32 -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
|
33 -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
|
34 #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
|
35 -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
|
36 #end if |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
37 #end if |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
38 #elif $analyze.input_src == 'DNA' |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
39 transIndel_build_DNA.py -i '$analyze.input' -o 'transIndel.bam' |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
40 --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
|
41 --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
|
42 #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
|
43 #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
|
44 && 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
|
45 #else: |
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_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
|
47 #end if |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
48 && 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
|
49 -r ref.fa |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
50 -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
|
51 -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
|
52 -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
|
53 -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
|
54 -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
|
55 #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
|
56 -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
|
57 #end if |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
58 #end if |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
59 #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
|
60 #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
|
61 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
|
62 #else: |
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_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
|
64 #end if |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
65 transIndel_call.py -i '$analyze.input' -o 'transIndel' |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
66 -r re.fasta |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
67 -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
|
68 -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
|
69 -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
|
70 -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
|
71 -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
|
72 #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
|
73 -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
|
74 #end if |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
75 #end if |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
76 ]]></command> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
77 <inputs> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
78 <conditional name="analyze"> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
79 <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
|
80 <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
|
81 <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
|
82 <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
|
83 </param> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
84 <when value="RNA"> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
85 <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
|
86 <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
|
87 <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
|
88 <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
|
89 <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
|
90 <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
|
91 </when> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
92 <when value="DNA"> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
93 <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
|
94 <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
|
95 <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
|
96 <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
|
97 </expand> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
98 </when> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
99 <when value="transIndel"> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
100 <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
|
101 <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
|
102 <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
|
103 </when> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
104 </conditional> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
105 </inputs> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
106 <outputs> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
107 <data name="output_bam" format="bam" label="${tool.name} on ${on_string}: transIndel.bam" from_work_dir="transIndel.bam"> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
108 <filter>analyze['input_src'] != 'transindel' </filter> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
109 </data> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
110 <data name="output_vcf" format="vcf" label="${tool.name} on ${on_string}: transIndel.indel.vcf" from_work_dir="transIndel.indel.vcf" > |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
111 <filter>analyze['input_src'] == 'transindel' or analyze['transIndel_call']['run_transIndel_call'] == 'yes'</filter> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
112 </data> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
113 </outputs> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
114 <tests> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
115 <test> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
116 <conditional name="analyze"> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
117 <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
|
118 <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
|
119 <conditional name="rfasta"> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
120 <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
|
121 <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
|
122 </conditional> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
123 <conditional name="rgtf"> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
124 <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
|
125 <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
|
126 </conditional> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
127 </conditional> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
128 <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
|
129 <assert_contents> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
130 <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
|
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 </output> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
133 </test> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
134 </tests> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
135 <help><![CDATA[ |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
136 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
|
137 ]]></help> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
138 <expand macro="citations" /> |
ba3910d7bd99
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/transindel commit f102f45fafcda3ee868765784d2f69d2dcad6233-dirty"
jjohnson
parents:
diff
changeset
|
139 </tool> |