comparison long_reads_sampling.xml @ 0:dd46956ff61f draft

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