annotate nuclescore.xml @ 0:82dce1eb9074 draft default tip

Uploaded
author dcouvin
date Fri, 03 Sep 2021 22:36:56 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
1 <tool id="nuclescore" name="NucleScore tool" version="0.1.0">
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
2 <description>allows to get information for classification of genome assemblies</description>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
3
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
4 <requirements>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
5 <requirement type="package" version="1.7.2">perl-bioperl</requirement>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
6 </requirements>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
7
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
8 <command detect_errors="aggressive"><![CDATA[
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
9
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
10 #import re
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
11 ## Creates symlinks for each input file based on the Galaxy 'element_identifier'
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
12 ## Used so that a human-readable name appears in the output table (instead of 'dataset_xyz.dat')
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
13 #set $named_input_files = ''
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
14 #for $input_file in $input_files
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
15 ## Add single quotes around each input file identifier
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
16 #set $_input_file = "'{}'".format($input_file.element_identifier)
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
17 ln -s '${input_file}' ${_input_file} &&
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
18 #set $named_input_files = $named_input_files + ' ' + $_input_file
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
19 #end for
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
20
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
21
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
22 perl '$__tool_directory__/nucleScore.pl' $named_input_files > "$output"
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
23
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
24
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
25
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
26 ]]></command>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
27 <!-- perl '$__tool_directory__/nucleScore.pl' $_input_file > "$output" -->
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
28 <!-- ./nuclescore.sh ${named_input_files} > "$output" -->
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
29
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
30 <inputs>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
31 <param format="fasta" name="input_files" type="data" label="Genome fasta file : " multiple="true" display="checkboxes"/>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
32 </inputs>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
33
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
34 <outputs>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
35 <data format="tabular" name="output" />
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
36 </outputs>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
37
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
38 <help><![CDATA[
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
39 nucleScore.pl is a Perl script allowing to get information for classification of genome assemblies basing on nucleotides data (GC percent, AT/GC ratio, ...)
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
40
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
41 This script belongs to the getSequenceInfo supplementary tools
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
42
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
43 - GitHub: https://github.com/karubiotools/getSequenceInfo/tree/master/supplementary_tools
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
44 ]]>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
45 </help>
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
46
82dce1eb9074 Uploaded
dcouvin
parents:
diff changeset
47 </tool>