annotate long_reads_sampling.xml @ 0:dd46956ff61f draft

Uploaded
author petr-novak
date Fri, 08 Dec 2017 09:57:17 -0500
parents
children 5596bafd2119
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
1 <tool id="long_reads_sampling" name="Create sample of long reads" version="0.1.0">
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
2 <requirements>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
3 <requirement type="package">biopython</requirement>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
4 <requirement type="package">python3</requirement>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
5 </requirements>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
7 python3 $__tool_directory__/long_reads_sampling.py -i "$input1" -o "$output1" -l ${total_length} -s ${seed}
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
8 ]]></command>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
9 <inputs>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
10 <param type="data" name="input1" format="fasta" label="input sequence in fasta format"/>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
11 <param name="total_length" type="integer" label="Total length of sampled sequences" value="10000" />
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
12 <param name="seed" type="integer" label="seed for setting random number generator" value="123" />
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
13 </inputs>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
14 <outputs>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
15 <data name="output1" format="fasta" />
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
16 </outputs>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
17 <tests>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
18 <test>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
19 <param name="input1" value="read_10k_ALL_oxford_nanopore_sample" />
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
20 <param name="total_length" value="1000000" />
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
21 <param name="seed" value="1234" />
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
22 <output name="output1" file="sampled.fasta"/>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
23 </test>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
24 </tests>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
25 <help><![CDATA[
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
26 This tools is for random sampling of long reads te get specified total amount of data
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
27 ]]></help>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
28 <citations>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
29 </citations>
dd46956ff61f Uploaded
petr-novak
parents:
diff changeset
30 </tool>