Mercurial > repos > bgruening > pfamscan
comparison pfamscan.xml @ 0:e7541ea105da draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pfamscan commit c27a05e92e6e03545903dd2ff90976f8cab5ebf7
author | bgruening |
---|---|
date | Sat, 04 Feb 2023 16:33:07 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e7541ea105da |
---|---|
1 <tool id="pfamscan" name="PfamScan" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> | |
2 <description>search a FASTA sequence against a library of Pfam HMM</description> | |
3 <macros> | |
4 <token name="@TOOL_VERSION@">1.6</token> | |
5 <token name="@VERSION_SUFFIX@">0</token> | |
6 </macros> | |
7 <xrefs> | |
8 <xref type="bio.tools">pfamscan</xref> | |
9 </xrefs> | |
10 <requirements> | |
11 <requirement type="package" version="@TOOL_VERSION@">pfam_scan</requirement> | |
12 <requirement type="package" version="3.3.2">hmmer</requirement> | |
13 </requirements> | |
14 <version_command>pfam_scan.pl --version</version_command> | |
15 <command detect_errors="exit_code"><![CDATA[ | |
16 mkdir -p './pfam_files' && | |
17 ln -s '${pfam_library}' './pfam_files/Pfam-A.hmm' && | |
18 ln -s '${pfam_data}' './pfam_files/Pfam-A.hmm.dat' && | |
19 #if $active_sites.selector == 'true' | |
20 ln -s '${active_sites.active_file}' './pfam_files/active_site.dat' && | |
21 #end if | |
22 hmmpress './pfam_files/Pfam-A.hmm' && | |
23 pfam_scan.pl | |
24 -cpu \${GALAXY_SLOTS:-4} | |
25 -fasta '${fasta}' | |
26 -dir './pfam_files/' | |
27 -outfile './output.tab' | |
28 #if $advanced_options.e_seq | |
29 -e_seq $advanced_options.e_seq | |
30 #end if | |
31 #if $advanced_options.e_dom | |
32 -e_dom $advanced_options.e_dom | |
33 #end if | |
34 #if $advanced_options.b_seq | |
35 -b_seq $advanced_options.b_seq | |
36 #end if | |
37 #if $advanced_options.b_dom | |
38 -b_dom $advanced_options.b_dom | |
39 #end if | |
40 #if $active_sites.selector == 'true' | |
41 -as | |
42 #end if | |
43 && tail -n +28 "./output.tab" > "./output_fixed.tab" | |
44 ]]> | |
45 </command> | |
46 <inputs> | |
47 <param argument="-fasta" type="data" format="fasta" label="Protein sequences FASTA file"/> | |
48 <param name="pfam_library" type="data" format="hmm3" label="Pfam-A HMM library" help="Pfam-A HMMs in an HMM library searchable with the hmmscan program." /> | |
49 <param name="pfam_data" type="data" format="stockholm" label="Pfam-A HMM Stockholm file" help="Stockholm format is a multiple sequence alignment format used | |
50 by Pfam, Rfam and Dfam, to disseminate protein, RNA and DNA sequence alignments." /> | |
51 <conditional name="active_sites"> | |
52 <param name="selector" type="select" label="Predict active site residues" help="Predict active site residues for Pfam-A matches"> | |
53 <option value="false">Disabled</option> | |
54 <option value="true" selected="true">Enabled</option> | |
55 </param> | |
56 <when value="false"/> | |
57 <when value="true"> | |
58 <param name="active_file" type="data" format="txt" label="Active sites file" help="This file is required for predicting the active site residues." /> | |
59 </when> | |
60 </conditional> | |
61 <section name="advanced_options" title="Advanced options"> | |
62 <param argument="-e_seq" type="float" min="0" value="" optional="true" label="Hmmscan evalue sequence cutoff" help="Specify hmmscan evalue sequence cutoff | |
63 for Pfam-A searches (default Pfam defined)" /> | |
64 <param argument="-e_dom" type="float" min="0" value="" optional="true" label="Hmmscan evalue domain cutoff" help="Specify hmmscan evalue domain cutoff for | |
65 Pfam-A searches (default Pfam defined)" /> | |
66 <param argument="-b_seq" type="float" min="0" value="" optional="true" label="Hmmscan bit score sequence cutoff" help="Specify hmmscan bit score sequence | |
67 cutoff for Pfam-A searches (default Pfam defined)" /> | |
68 <param argument="-b_dom" type="float" min="0" value="" optional="true" label="Hmmscan bit score domain cutoff" help="Specify hmmscan bit score domain cutoff | |
69 for Pfam-A searches (default Pfam defined)" /> | |
70 <param argument="-clan_overlap" type="boolean" truevalue="-clan_overlap" falsevalue="" checked="false" label="Clan overlap" help="Show overlapping hits within | |
71 clan member families (applies to Pfam-A families only)" /> | |
72 <param argument="-align" type="boolean" truevalue="-align" falsevalue="" checked="false" label="Show alignment" help="Show the HMM-sequence alignment for each match" /> | |
73 </section> | |
74 </inputs> | |
75 <outputs> | |
76 <data name="output" format="tabular" from_work_dir="output_fixed.tab" label="${tool.name} on ${on_string}"/> | |
77 </outputs> | |
78 <tests> | |
79 <!-- Test 01: Default parameters not active sites --> | |
80 <test expect_num_outputs="1"> | |
81 <param name="fasta" value="sequences.fasta.gz"/> | |
82 <param name="pfam_library" value="Pfam-A.hmm.gz"/> | |
83 <param name="pfam_data" value="Pfam-A.hmm.dat.gz"/> | |
84 <conditional name="active_sites"> | |
85 <param name="selector" value="false"/> | |
86 </conditional> | |
87 <output name="output" file="test01.tab" ftype="tabular"/> | |
88 </test> | |
89 <!-- Test 02: Default parameters: active sites --> | |
90 <test expect_num_outputs="1"> | |
91 <param name="fasta" value="sequences.fasta.gz"/> | |
92 <param name="pfam_library" value="Pfam-A.hmm.gz"/> | |
93 <param name="pfam_data" value="Pfam-A.hmm.dat.gz"/> | |
94 <conditional name="active_sites"> | |
95 <param name="selector" value="true"/> | |
96 <param name="active_file" value="active_site.dat.gz"/> | |
97 </conditional> | |
98 <output name="output" file="test02.tab" ftype="tabular"/> | |
99 </test> | |
100 <!-- Test 03: Non default parameters: active sites --> | |
101 <test expect_num_outputs="1"> | |
102 <param name="fasta" value="sequences.fasta.gz"/> | |
103 <param name="pfam_library" value="Pfam-A.hmm.gz"/> | |
104 <param name="pfam_data" value="Pfam-A.hmm.dat.gz"/> | |
105 <section name="advanced_options"> | |
106 <param name="e_seq" value="1.2"/> | |
107 <param name="e_dom" value="1.3"/> | |
108 <param name="clan_overlap" value="true"/> | |
109 </section> | |
110 <conditional name="active_sites"> | |
111 <param name="selector" value="true"/> | |
112 <param name="active_file" value="active_site.dat.gz"/> | |
113 </conditional> | |
114 <output name="output" file="test03.tab" ftype="tabular"/> | |
115 </test> | |
116 <!-- Test 04: Non default parameters: active sites --> | |
117 <test expect_num_outputs="1"> | |
118 <param name="fasta" value="sequences.fasta.gz"/> | |
119 <param name="pfam_library" value="Pfam-A.hmm.gz"/> | |
120 <param name="pfam_data" value="Pfam-A.hmm.dat.gz"/> | |
121 <section name="advanced_options"> | |
122 <param name="b_seq" value="1.4"/> | |
123 <param name="b_dom" value="1.2"/> | |
124 <param name="align" value="true"/> | |
125 </section> | |
126 <conditional name="active_sites"> | |
127 <param name="selector" value="true"/> | |
128 <param name="active_file" value="active_site.dat.gz"/> | |
129 </conditional> | |
130 <output name="output" file="test04.tab" ftype="tabular"/> | |
131 </test> | |
132 </tests> | |
133 <help><![CDATA[ | |
134 | |
135 .. class:: infomark | |
136 | |
137 **Purpose** | |
138 | |
139 Search one or more sequences for matching Pfam domains. Depending on the user options, the script can also process the results such that overlaps between families belonging to the | |
140 same clan are resolved and can predict active sites. | |
141 | |
142 ---- | |
143 | |
144 .. class:: infomark | |
145 | |
146 **Required files** | |
147 | |
148 To run PfamScan you will need to download the following files from the Pfam ftp site: | |
149 | |
150 - Pfam-A HMMs in an HMM library searchable with the hmmscan program: `Pfam-A.hmm.gz <https://ftp.ebi.ac.uk/pub/databases/Pfam/current_release/Pfam-A.hmm.gz>`_ | |
151 - Pfam-A HMM Stockholm file associated with each HMM required for PfamScan: `Pfam-A.hmm.dat.gz <https://ftp.ebi.ac.uk/pub/databases/Pfam/current_release/Pfam-A.hmm.dat.gz>`_ | |
152 - Active sites: `active_sites.dat.gz <ftp://ftp.ebi.ac.uk/pub/databases/Pfam/current_release/active_site.dat.gz>`_ | |
153 | |
154 ]]></help> | |
155 <citations> | |
156 <citation type="doi">10.1093/nar/gkt006</citation> | |
157 </citations> | |
158 </tool> |