annotate spades_header_fixer.xml @ 1:4b00d869c8c0 draft default tip

planemo upload for repository https://github.com/phac-nml/galaxy_tools commit c32ec4a9284ec939d001bd7d7d551c15feaa5333
author nml
date Mon, 07 Nov 2022 23:40:55 +0000
parents c60899ab28a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
4b00d869c8c0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit c32ec4a9284ec939d001bd7d7d551c15feaa5333
nml
parents: 0
diff changeset
1 <tool id="spades_header_fixer" name="SPAdes fasta header fixer" version="1.1.2+galaxy1">
0
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
2 <description>Fixes Spades Fasta ids</description>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
3 <requirements>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
4 <requirement type="package" version="4.7.0">sed</requirement>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
5 </requirements>
1
4b00d869c8c0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit c32ec4a9284ec939d001bd7d7d551c15feaa5333
nml
parents: 0
diff changeset
6 <command >sed -r "s/>NODE(_[0-9]+)_(.*)|>contig/>${input.element_identifier}\1_\2/g" $input >$output</command>
0
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
7 <inputs>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
8 <param name="input" type="data" format="fasta" label="Fix these fasta headers"/>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
9 </inputs>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
10 <outputs>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
11 <data name="output" format="fasta"/>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
12 </outputs>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
13 <tests>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
14 <test>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
15 <param name="input" value="spades_before_1.fasta" />
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
16 <output name="output" file="spades_header_fixed_1.fasta" ftype="fasta"/>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
17 </test>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
18 <test>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
19 <param name="input" value="spades_before_2.fasta" />
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
20 <output name="output" file="spades_header_fixed_2.fasta" ftype="fasta"/>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
21 </test>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
22 </tests>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
23
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
24 <help><![CDATA[
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
25 SPAdes fasta header fixer
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
26 =======
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
27
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
28 The SPAdes header fixer tool replaces the default value of NODE from SPAdes fasta header(s) to either a filename or a collection identifier.
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
29 ]]></help>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
30
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
31 <citations>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
32 <citation type="bibtex">@ARTICLE{a1,
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
33 title = {SPAdes fasta header fixer},
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
34 author = {Philip Mabon},
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
35 url = {https://github.com/phac-nml/galaxy_tools}
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
36 }
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
37 }</citation>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
38 </citations>
c60899ab28a0 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3051c6185128618cb9f137a10f45c248f6a6097f
nml
parents:
diff changeset
39 </tool>