Mercurial > repos > yating-l > blastxmltopsl
annotate blastXmlToPsl.xml @ 1:61abee6f9841 draft
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
author | yating-l |
---|---|
date | Thu, 28 Jun 2018 12:46:08 -0400 |
parents | d81915b5805f |
children | e59a0436870a |
rev | line source |
---|---|
1
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
1 <tool id="blastXmlToPsl" name="blastXmlToPsl" version="1.1"> |
0
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
2 <requirements> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
3 </requirements> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
4 <stdio> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
5 <exit_code range="1:" /> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
6 </stdio> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
7 <command><![CDATA[ |
1
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
8 $__tool_directory__/blastXmlToPsl $input $output |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
9 #if $convertToNucCoords == "true" |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
10 -convertToNucCoords |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
11 #end if |
0
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
12 ]]></command> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
13 <inputs> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
14 <param type="data" name="input" format="xml" /> |
1
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
15 <param type="boolean" name="convertToNucCoords" checked="true" label="-convertToNucCoords" help="Only support for TBLASTN restuls. Convert protein to nucleic alignments to nucleic |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
16 to nucleic coordinates"/> |
0
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
17 </inputs> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
18 <outputs> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
19 <data format="psl" name="output" /> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
20 </outputs> |
1
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
21 <tests> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
22 <test> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
23 <param name="input" value="tblastn_Dbia3_ci.xml" /> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
24 <param name="convertToNucCoords" value="true" /> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
25 <output name="output" value="tblastn_Dbia3_ci.psl" /> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
26 </test> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
27 <test> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
28 <param name="input" value="blastn_mRNA_seq.xml" /> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
29 <param name="convertToNucCoords" value="false" /> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
30 <output name="output" value="blastn_mRNA_seq.psl" /> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
31 </test> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
32 </tests> |
0
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
33 <help><![CDATA[ |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
34 blastXmlToPsl - convert blast XML output to PSLs |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
35 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
36 usage: |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
37 blastXmlToPsl [options] blastXml psl |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
38 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
39 options: |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
40 -scores=file - Write score information to this file. Format is: |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
41 strands qName qStart qEnd tName tStart tEnd bitscore eVal qDef tDef |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
42 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
43 -verbose=n - n >= 3 prints each line of file after parsing. |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
44 n >= 4 dumps the result of each query |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
45 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
46 -eVal=n n is e-value threshold to filter results. Format can be either |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
47 an integer, double or 1e-10. Default is no filter. |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
48 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
49 -pslx - create PSLX output (includes sequences for blocks) |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
50 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
51 -convertToNucCoords - convert protein to nucleic alignments to nucleic |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
52 to nucleic coordinates |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
53 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
54 -qName=src - define element used to obtain the qName. The following |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
55 values are support: |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
56 - query-ID - use contents of the <Iteration_query-ID> element if it |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
57 exists, otherwise use <BlastOutput_query-ID> |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
58 - query-def0 - use the first white-space separated word of the |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
59 <Iteration_query-def> element if it exists, otherwise the first word |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
60 of <BlastOutput_query-def>. |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
61 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
62 Default is query-def0. |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
63 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
64 -tName=src - define element used to obtain the tName. The following |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
65 values are support: |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
66 - Hit_id - use contents of the <Hit-id> element. |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
67 - Hit_def0 - use the first white-space separated word of the |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
68 <Hit_def> element. |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
69 - Hit_accession - contents of the <Hit_accession> element. |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
70 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
71 Default is Hit-def0. |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
72 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
73 -forcePsiBlast - treat as output of PSI-BLAST. blast-2.2.16 and maybe |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
74 others indentify psiblast as blastp. |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
75 |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
76 Output only results of last round from PSI BLAST |
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
77 ]]></help> |
1
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
78 <citations> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
79 <citation type="bibtex"> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
80 @article{Kent01062002, |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
81 author = {Kent, W. James and Sugnet, Charles W. and Furey, Terrence S. and Roskin, Krishna M. and Pringle, Tom H. and Zahler, Alan M. and Haussler, and David}, |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
82 title = {The Human Genome Browser at UCSC}, |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
83 volume = {12}, |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
84 number = {6}, |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
85 pages = {996-1006}, |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
86 year = {2002}, |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
87 doi = {10.1101/gr.229102}, |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
88 URL = {http://genome.cshlp.org/content/12/6/996.abstract}, |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
89 eprint = {http://genome.cshlp.org/content/12/6/996.full.pdf+html}, |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
90 journal = {Genome Research} |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
91 } |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
92 </citation> |
61abee6f9841
planemo upload commit ada9f28c03745a483404b87ec3263968cac2d321
yating-l
parents:
0
diff
changeset
|
93 </citations> |
0
d81915b5805f
planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842
yating-l
parents:
diff
changeset
|
94 </tool> |