annotate chira_map.xml @ 5:668f0b2f63ec draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit cc81372929ffba1f5ab8cf620911425c832fb120"
author iuc
date Thu, 16 Apr 2020 13:39:15 -0400
parents 39bb70c2764e
children 1d3be7700f70
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
1 <tool id="chira_map" name="ChiRA map" version="@WRAPPER_VERSION@0">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
2 <description>map reads to trascriptome</description>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
3 <macros>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
5 </macros>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
6 <expand macro="requirements" />
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
7 <command detect_errors="aggressive"><![CDATA[
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
8 chira_map.py -b
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
9 -a '$alignment.aligner'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
10 -i '$query'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
11 -b
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
12 #if str($alignment.aligner) == "bwa":
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
13 -s '$alignment.stranded'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
14 -l1 '$alignment.seed_length1'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
15 -l2 '$alignment.seed_length2'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
16 -s1 '$alignment.align_score1'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
17 -s2 '$alignment.align_score2'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
18 #else if str($alignment.aligner) == "clan":
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
19 -s2 '$alignment.align_score'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
20 #end if
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
21 #if str($reference.ref_type) == "single":
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
22 -f1 '$reference.ref_fasta'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
23 #else if str($reference.ref_type) == "split":
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
24 -f1 '$reference.ref_fasta1'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
25 -f2 '$reference.ref_fasta2'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
26 #end if
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
27 -co '$chimeric_overlap'
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
28 -p "\${GALAXY_SLOTS:-4}"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
29 -o ./
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
30
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
31 ]]></command>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
32
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
33 <inputs>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
34 <param format="fasta" name="query" type="data" label="Input FASTA file"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
35 help="Input fasta file"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
36 <conditional name="reference">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
37 <param name="ref_type" type="select" label="Single or split reference?"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
38 help="Use single if you have all the transcripts in single fasta file. Use split, if you split the
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
39 reference into two such that each chimeric read arm corresponds to one of them">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
40 <option value="split">Split reference</option>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
41 <option value="single">Single reference</option>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
42 </param>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
43 <when value="split">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
44 <param format="fasta" name="ref_fasta1" type="data" label="Reference FASTA file"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
45 help="Reference fasta file"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
46 <param format="fasta" name="ref_fasta2" type="data" label="Second reference FASTA file"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
47 help="Second reference fasta file."/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
48 </when>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
49 <when value="single">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
50 <param format="fasta" name="ref_fasta" type="data" label="Reference FASTA file"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
51 help="Reference fasta file"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
52 </when>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
53 </conditional>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
54 <conditional name="alignment" label="Aligner to use">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
55 <param name="aligner" type="select">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
56 <option value="bwa">BWA-MEM</option>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
57 <option value="clan">CLAN</option>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
58 </param>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
59 <when value="bwa">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
60 <param name="stranded" type="select" label="Map reads to">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
61 <option value="fw">Transcript strand only</option>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
62 <option value="rc">Reverse compliment of transcript strand only</option>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
63 <option value="both">Try both strands</option>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
64 </param>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
65 <param name="seed_length1" type="integer" value="12" label="Seed length 1" min="1"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
66 help="Seed length for 1st mapping iteration. bwa-mem parameter -k"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
67 <param name="seed_length2" type="integer" value="6" label="Seed length 2" min="1"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
68 help="Seed length for 2nd mapping iteration. bwa-mem parameter -k"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
69 <param name="align_score1" type="integer" value="18" label="Minimum alignmnet score 1" min="1"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
70 help="Minimum alignment score in 1st mapping iteration. It
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
71 must be smaller than --align_score1 parameter. bwa-mem parameter '-T'"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
72 <param name="align_score2" type="integer" value="10" label="Minimum alignmnet score 2" min="1"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
73 help="Minimum alignment score in 2nd mapping iteration. bwa-mem parameter '-T'"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
74 </when>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
75 <when value="clan">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
76 <param name="align_score" type="integer" value="10" label="Minimum length for each fragment" min="1"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
77 help="Minimu length of the read segment that needs to be mapped. clan_search parameter '-l'"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
78 </when>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
79 </conditional>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
80 <param name="chimeric_overlap" type="integer" value="2" label=" Maximum number of bases allowed
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
81 between the chimericsegments of a read"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
82 </inputs>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
83
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
84 <outputs>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
85 <data format="bed" name="mapped_bed" from_work_dir="mapped.bed" label="ChiRA aligned BED on ${on_string}"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
86 <data format="fasta" name="unmapped_fasta" from_work_dir="short.unmapped.fa"
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
87 label="ChiRA unmapped FASTA on ${on_string}">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
88 <filter>alignment['aligner'] == "bwa"</filter>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
89 </data>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
90 </outputs>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
91
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
92 <tests>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
93 <!-- Test: Map with BWA-mem -->
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
94 <test expect_num_outputs="2">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
95 <param name="aligner" value="bwa"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
96 <param name="query" value="reads.fasta"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
97 <param name="ref_type" value="split"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
98 <param name="ref_fasta1" value="ref1.fasta"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
99 <param name="ref_fasta2" value="ref2.fasta"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
100 <param name="unmapped" value="True"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
101 <output name="mapped_bed" >
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
102 <assert_contents>
3
39bb70c2764e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents: 0
diff changeset
103 <has_text_matching expression="mmu-miR-6898-5p\t11\t21\t2\|2,mmu-miR-6898-5p,11,21,\+,10M39S\t1\t\+" />
0
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
104 </assert_contents>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
105 </output>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
106 <output name="unmapped_fasta" >
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
107 <assert_contents>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
108 <has_text_matching expression="AAAAGACTCTGTAGACATGGCTGGTCTTGAACTCACAGAGATTTGTCTGCCTTTC" />
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
109 </assert_contents>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
110 </output>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
111 </test>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
112 <!-- Test: Map with CLAN -->
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
113 <test expect_num_outputs="1">
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
114 <param name="aligner" value="clan"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
115 <param name="query" value="reads.fasta"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
116 <param name="ref_type" value="split"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
117 <param name="ref_fasta1" value="ref1.fasta"/>
3
39bb70c2764e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents: 0
diff changeset
118 <param name="ref_fasta2" value="ref2.fasta"/>
0
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
119 <param name="unmapped" value="True"/>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
120 <output name="mapped_bed" >
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
121 <assert_contents>
3
39bb70c2764e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents: 0
diff changeset
122 <has_text_matching expression="mmu-miR-20a-5p\t0\t23\t3\|2,mmu-miR-20a-5p,0,23,\+,5S23M27S\t1\t\+" />
0
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
123 </assert_contents>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
124 </output>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
125 </test>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
126 </tests>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
127 <help>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
128
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
129 .. class:: infomark
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
130
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
131 **What it does**
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
132
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
133 This tool handles the mapping of the reads to reference transcriptome. User can choose between the bwa-mem and CLAN alignment tools.
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
134
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
135 **Inputs**
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
136
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
137 * A fasta file containing reads
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
138 * A reference fasta file containing transcript sequences
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
139 * An optional second reference fasta file, incase if you split your reference into two
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
140
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
141 **Output**
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
142
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
143 * BED file containing the alignments
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
144 * Optional unmapped FASTA file
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
145
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
146 </help>
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
147 <expand macro="citations" />
6c398f64ad6a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
148 </tool>