annotate pyfaidx.xml @ 0:fb6a4e2d6234 draft default tip

Uploaded
author greg
date Tue, 10 Oct 2023 13:23:15 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
1 <tool id="pyfaidx" name="pyfaidx" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
2 <description>efficient FASTA indexing</description>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
3 <macros>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
4 <import>macros.xml</import>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
5 </macros>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
6 <expand macro="requirements"/>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
8 #if $input.is_of_type('fasta.gz'):
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
9 gunzip -c '$input' > 'input.fasta' &&
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
10 #else:
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
11 ln -s '$input' 'input.fasta' &&
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
12 #end if
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
13 faidx -i chromsizes 'input.fasta' > '$output'
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
14 ]]></command>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
15 <inputs>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
16 <param name="input" type="data" format="fasta,fasta.gz" label="Assembled FASTA file"/>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
17 </inputs>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
18 <outputs>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
19 <data name="output" format="fasta"/>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
20 </outputs>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
21 <tests>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
22 <test>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
23 <param name="input" value="input.fasta.gz" ftype="fasta.gz"/>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
24 <output name="output" ftype="fasta">
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
25 <assert_contents>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
26 <has_size value="51690"/>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
27 <has_text text=">contig_10"/>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
28 <has_text text=">contig_7"/>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
29 </assert_contents>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
30 </output>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
31 </test>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
32 </tests>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
33 <help>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
34 **What it does**
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
35
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
36 Runs faidx to index the input FASTA file.
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
37 </help>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
38 <expand macro="citations"/>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
39 </tool>
fb6a4e2d6234 Uploaded
greg
parents:
diff changeset
40