comparison ucsc_pslCDnaFilter.xml @ 0:ceec5a5fe894 draft default tip

planemo upload commit 46cd27d5fb1b88220fb94b9039a685359b87d539-dirty
author yating-l
date Wed, 12 Apr 2017 17:50:21 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:ceec5a5fe894
1 <?xml version="1.0"?>
2 <tool id="ucsc_pslcdnafilter" name="UCSC pslCDnaFilter" version="1.0">
3 <description>Filter cDNA alignments in psl format</description>
4 <requirements>
5 <requirement type="package" version="1.0">ucsc_tools_340_for_BLAT</requirement>
6 </requirements>
7 <command detect_errors="exit_code"><![CDATA[
8 pslReps -minAli=0.25 '${alignment}' output.reps.psl output.reps.psr
9 && faPolyASizes '${query}' query.polyA
10 && pslCDnaFilter
11 #if $assembly_type == "native"
12 -localNearBest=0.001
13 #if $assembly_category == "finished"
14 -minId=0.95
15 -minCover=0.25
16 #elif $assembly_category == "well-ordered"
17 -minId=0.95
18 -minCover=0.15
19 #else
20 -minId=0.94
21 -minAlnSize=80
22 #end if
23 #else
24 -localNearBest=0.010
25 #if $assembly_category == "finished"
26 -minId=0.35
27 -minCover=0.25
28 #elif $assembly_category == "well-ordered"
29 -minId=0.35
30 -minCover=0.15
31 #else
32 -minId=0.33
33 -minAlnSize=80
34 #end if
35 #end if
36 -minQSize=20
37 -ignoreIntrons
38 -repsAsMatch
39 -ignoreNs
40 -bestOverlap
41 -polyASizes=query.polyA
42 output.reps.psl
43 '${output_filtered}'
44 ]]></command>
45 <inputs>
46 <param type="data" name="alignment" format="psl" />
47 <param type="data" name="query" format="fasta" />
48 <param name="assembly_type" type="select" label="Choose your type of cDNA sequence">
49 <option value="native">Same species</option>
50 <option value="xeno">Across species</option>
51 </param>
52 <param name="assembly_category" type="select" label="Choose your genome assembly category">
53 <option value="finished">finished assemblies (high quality)</option>
54 <option value="well-ordered">well-ordered assemblies (well ordered, whole genome shotgun)</option>
55 <option value="low-coverage">low-coverage assemblies (low coverage (&lt; 4x"), lots of contigs, N50 scaffold size &lt; 1mb) </option>
56 </param>
57 </inputs>
58 <outputs>
59 <data format="psl" name="output_filtered" label="${tool.name} on ${on_string}:filtered BLAT results"></data>
60 </outputs>
61 <tests>
62 <test>
63 <param name="alignment" value="amaVit1_Gallus/amaVit1_Gallus_gallus.psl" />
64 <param name="query" value="amaVit1_Gallus/Gallus_gallus_RefSeq.fa" />
65 <param name="assembly_type" value="xeno" />
66 <param name="assembly_category" value="well-ordered" />
67 <output name="output_filtered" value="amaVit1_Gallus/amaVit1_Gallus_gallus_filtered.psl" />
68 </test>
69 <test>
70 <param name="alignment" value="dbia3/dbia3.sorted.psl" />
71 <param name="query" value="dbia3/dmel-all-transcript-r6.13.fasta" />
72 <param name="assembly_type" value="xeno" />
73 <param name="assembly_category" value="well-ordered" />
74 <output name="output_filtered" value="dbia3/dbia3_dmel_filtered.psl" />
75 </test>
76
77 </tests>
78 <help>
79 <![CDATA[
80
81 pslCDnaFilter (version: v340)
82 ==============================
83 Filter cDNA alignments in psl format. Filtering criteria are comparative, selecting near best in genome alignments for each given cDNA and non-comparative, based only on the quality of an individual alignment.
84
85 usage:
86 -------
87
88 $ pslCDnaFilter [options] inPsl outPsl
89
90 Source code:
91 -------------
92
93 http://hgdownload.cse.ucsc.edu/admin/exe/
94
95 Licence
96 ========
97 Please note that commercial download and installation of the Blat and In-Silico PCR software may be licensed through Kent Informatics (http://www.kentinformatics.com).
98 ]]>
99 </help>
100 <citations>
101 <citation type="bibtex">@article{kent2002blat,
102 title={BLAT—the BLAST-like alignment tool},
103 author={Kent, W James},
104 journal={Genome research},
105 volume={12},
106 number={4},
107 pages={656--664},
108 year={2002},
109 publisher={Cold Spring Harbor Lab}
110 }</citation>
111 </citations>
112 </tool>
113
114
115
116
117