comparison diamond_view.xml @ 24:e4b21e47cca6 draft

Uploaded
author p.lucas
date Tue, 28 May 2024 13:46:39 +0000
parents
children
comparison
equal deleted inserted replaced
23:be17909bcbf0 24:e4b21e47cca6
1 <tool id="pl_diamond_view" name="PL_Diamond view" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="19.01">
2 <description>generate formatted output from DAA files</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="stdio" />
7 <expand macro="version_command" />
8 <command detect_errors="aggressive"><![CDATA[
9 ## need to link because diamont tries to open dataset_xxx.dat.daa
10 ln -s '$daa' input.daa &&
11 $/usr/bin/diamond
12 view
13 --threads \${GALAXY_SLOTS:-1}
14 --daa input.daa
15 @OUTPUT_ARGS@
16 @HITFILTER_ARGS@
17 $forwardonly
18 --compress '0'
19 ]]>
20 </command>
21 <inputs>
22 <param argument="--daa" type="data" format="daa" label="input file in DAA format" />
23 <section name="output_section" title="Output options">
24 <expand macro="output_type_macro" />
25 </section>
26 <expand macro="hit_filter_macro" />
27 <param argument="--forwardonly" type="boolean" truevalue="--forwardonly" falsevalue="" checked="false" label="only show alignments of forward strand" help=""/>
28 </inputs>
29 <outputs>
30 <expand macro="output_macro" />
31 </outputs>
32 <tests>
33 <test expect_num_outputs="1">
34 <param name="daa" ftype="daa" value="diamond_results.daa" />
35 <section name="output_section">
36 <conditional name="output">
37 <param name="outfmt" value="5"/>
38 </conditional>
39 </section>
40 <conditional name="hit_filter">
41 <param name="hit_filter_select" value="max"/>
42 <param name="max_target_seqs" value="1" />
43 </conditional>
44 <output name="blast_tabular" file="diamond_results.xml"/>
45 </test>
46 <test expect_num_outputs="1">
47 <param name="daa" ftype="daa" value="diamond_results.daa" />
48 <section name="output_section">
49 <conditional name="output">
50 <param name="outfmt" value="6"/>
51 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore,cigar,scovhsp"/>
52 </conditional>
53 </section>
54 <output name="blast_tabular" file="diamond_view_results.tabular"/>
55 </test>
56 <test expect_num_outputs="1">
57 <param name="daa" ftype="daa" value="diamond_results.daa" />
58 <section name="output_section">
59 <conditional name="output">
60 <param name="outfmt" value="101"/>
61 </conditional>
62 </section>
63 <conditional name="hit_filter">
64 <param name="hit_filter_select" value="top"/>
65 <param name="max_target_seqs" value="1" />
66 </conditional>
67 <param name="forwardonly" value="--forwardonly" />
68 <output name="blast_tabular" file="diamond_results.sam" lines_diff="2"/>
69 </test>
70 </tests>
71
72 <help>
73 <![CDATA[
74
75 **What it does**
76
77 Converts diamond daa files to multiple other formats.
78
79 **Input**
80
81 Input data is a daa file.
82
83
84 **Output**
85
86 Alignment results in BLAST format (pairwise/tabular), xml, sam, taxonomic (Note the latter does not work with the current diamond version. )
87
88 BLAST tables contain the following columns.
89
90 Column Description
91 1 Query Seq-id (ID of your sequence)
92 2 Subject Seq-id (ID of the database hit)
93 3 Percentage of identical matches
94 4 Alignment length
95 5 Number of mismatches
96 6 Number of gap openings
97 7 Start of alignment in query
98 8 End of alignment in query
99 9 Start of alignment in subject (database hit)
100 10 End of alignment in subject (database hit)
101 11 Expectation value (E-value)
102 12 Bit score
103 ]]>
104 </help>
105 <expand macro="citations" />
106 </tool>