Mercurial > repos > bebatut > fasta_add_barcode
comparison fasta_add_barcode.xml @ 0:04699558a38a draft default tip
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/fasta_add_barcode commit e857f7126443e115f11954085423f8999bc870aa-dirty
author | bebatut |
---|---|
date | Fri, 15 Apr 2016 06:04:56 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:04699558a38a |
---|---|
1 <tool id="fasta_add_barcode" name="Add barcodes" version="1.0"> | |
2 | |
3 <description>to FASTA sequences</description> | |
4 | |
5 <requirements> | |
6 </requirements> | |
7 | |
8 <stdio> | |
9 </stdio> | |
10 | |
11 <version_command>python -version</version_command> | |
12 | |
13 <!--<command>--> | |
14 <command><![CDATA[ | |
15 python $__tool_directory__/fasta_add_barcode.py | |
16 --input_sequence_file $sequence_file | |
17 --input_mapping_file $mapping_file | |
18 --output_sequence_file $output_sequence_file | |
19 ]]> | |
20 </command> | |
21 | |
22 <inputs> | |
23 <param name="sequence_file" type="data" format="fasta" label="Sequence | |
24 zfile" help=""/> | |
25 <param name="mapping_file" type="data" format="tabular" | |
26 label="Mapping file between sequence identifier and barcode to add" | |
27 help="The mapping file must be a tabular delimited file with | |
28 two columns. The first column contains sequence identifier and | |
29 the second column corresponding barcode to add at the beginning | |
30 of each sequence."/> | |
31 </inputs> | |
32 | |
33 <outputs> | |
34 <data format="fasta" name="output_sequence_file" metadata_source="sequence_file" | |
35 label="Sequences with added barcodes from ${on_string}" /> | |
36 </outputs> | |
37 | |
38 <tests> | |
39 <test> | |
40 <param name="sequence_file" value="input_sequences.fasta"/> | |
41 <param name="mapping_file" value="mapping_file.txt"/> | |
42 <output name="output_sequence_file" file="output_test.fasta" /> | |
43 </test> | |
44 </tests> | |
45 | |
46 <help><![CDATA[ | |
47 | |
48 **What it does** | |
49 | |
50 This tool takes a FASTA file and add at the beginning of each sequence a barcode. | |
51 | |
52 The barcode of each sequence is determined given its sequence identifier. The mapping between sequence identifier and corresponding barcode is defined inside the mapping file. This file must be a tabular delimited file with two columns: the first with sequence identifiers and the second the corresponding barcode. | |
53 | |
54 ]]> | |
55 </help> | |
56 | |
57 <citations> | |
58 </citations> | |
59 </tool> | |
60 |