0
|
1 <tool id="concatenatemultifasta" name="concatenateMultiFasta tool" version="0.1.0">
|
|
2 <description>allows to concatenate sequences from a multi-Fasta file</description>
|
|
3
|
|
4 <!--<requirements>
|
|
5 <requirement type="package" version="1.7.2">perl-bioperl</requirement>
|
|
6 </requirements>-->
|
|
7
|
|
8 <command detect_errors="aggressive"><![CDATA[
|
|
9
|
|
10 #import re
|
|
11 ## Creates symlinks for each input file based on the Galaxy 'element_identifier'
|
|
12 ## Used so that a human-readable name appears in the output table (instead of 'dataset_xyz.dat')
|
|
13 ## Add single quotes around each input file identifier
|
|
14 #set $_input_file = "'{}'".format($input.element_identifier)
|
|
15 ln -s '${input}' ${_input_file} &&
|
|
16
|
|
17
|
|
18 perl '$__tool_directory__/concatenateMultiFasta.pl' $_input_file > "$output"
|
|
19
|
|
20
|
|
21
|
|
22 ]]></command>
|
|
23 <!-- perl '$__tool_directory__/nucleScore.pl' $_input_file > "$output" -->
|
|
24 <!-- ./nuclescore.sh ${named_input_files} > "$output" -->
|
|
25
|
|
26 <inputs>
|
|
27 <param format="fasta" name="input" type="data" label="Multi-FASTA file: "/>
|
|
28 </inputs>
|
|
29
|
|
30 <outputs>
|
|
31 <data format="fasta" name="output" />
|
|
32 </outputs>
|
|
33
|
|
34 <help><![CDATA[
|
|
35 concatenateMultiFasta.pl is a Perl script allowing to concatenate/merge multi-Fasta files. Every Fasta sequences contained in one file will be concatenated and the output is a Fasta file containing a unique sequence.
|
|
36
|
|
37 This script belongs to the getSequenceInfo supplementary tools.
|
|
38
|
|
39 - GitHub: https://github.com/karubiotools/getSequenceInfo/tree/master/supplementary_tools
|
|
40 ]]>
|
|
41 </help>
|
|
42
|
|
43 </tool>
|
|
44
|