annotate cpt_related_genome_prot/prot_relate.xml @ 0:ebcc87a27f9c draft default tip

Uploaded
author cpt
date Fri, 10 Jun 2022 08:46:28 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
1 <?xml version="1.0"?>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
2 <tool id="edu.tamu.cpt.blast.relatedness.prot" name="Related Genomes" version="19.1.0.0">
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
3 <description>based on protein blast results</description>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
4 <macros>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
5 <import>macros.xml</import>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
6 <import>cpt-macros.xml</import>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
7 </macros>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
8 <expand macro="requirements"/>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
9 <command detect_errors="aggressive">
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
10 $__tool_directory__/relatedness_prot.py
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
11 ${blastIn.blast}
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
12 $__tool_directory__/TaxID_List.txt
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
13 --hits $hits
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
14 $filter
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
15 --protein
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
16 #if $blastIn.blastType == "XML":
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
17 --xmlMode
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
18 #end if
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
19 --taxFilter "$taxFilter"
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
20 > $accession_list
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
21 </command>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
22 <inputs>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
23 <conditional name="blastIn">
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
24 <param name="blastType" type="select" label="Blastn Input Type">
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
25 <option value="XML" selected="true">Blast XML</option>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
26 <option value="TSV">Blast Tabular</option>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
27 </param>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
28 <when value="XML">
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
29 <param label="Blastn Results (Blast XML)" name="blast" type="data" format="blastxml"/>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
30 </when>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
31 <when value="TSV">
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
32 <param label="Blastn Results" name="blast" type="data" format="tsv,tabular"/>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
33 </when>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
34 </conditional>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
35 <param label = 'Number of results to return' name="hits" type="integer" size="15" value="5"/>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
36 <param name="filter" type="boolean" truevalue="" falsevalue="--noFilter" checked="true" label="Automatically filter by phage Taxonomy IDs"/>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
37 <param name="taxFilter" type="text" label="TaxIDs to filter out of results (Space separated)"/>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
38 </inputs>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
39 <outputs>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
40 <data format="tabular" name="accession_list" label="Top BlastP Hits" />
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
41 </outputs>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
42 <tests>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
43 <test>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
44 <conditional name="blastIn">
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
45 <param name="blastType" value="TSV"/>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
46 <param name="blast" value="prot_relate_in.tab"/>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
47 </conditional>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
48 <param name="hits" value="10"/>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
49 <output name="accession_list" file="prot_relate_out.tab" lines_diff="4"/>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
50 </test>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
51 </tests>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
52 <help>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
53 **What it does**
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
54
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
55 This tool filters a set of BLASTp results and return the top
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
56 related genomes based on number of protein-protein matches. The
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
57 default mode is to only consider phage hits (based on TaxID),
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
58 but this can the toggled off.
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
59
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
60 The input must be a tabular file from a BLASTp run with the qseqID,
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
61 sallseqid, salltitles, sallacc, and staxIDs fields selected.
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
62
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
63 The output will be a tabular file with the top hits returned,
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
64 where each row specifies the TaxID, organism name, and number of
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
65 similar unique protein hits shared.
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
66 </help>
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
67 <expand macro="citations-2020" />
ebcc87a27f9c Uploaded
cpt
parents:
diff changeset
68 </tool>