1
|
1 <tool id="long2short" name="Get pseudo short paired end reads from long reads" version="0.1.0">
|
|
2 <requirements>
|
|
3 <requirement type="package">biopython</requirement>
|
|
4 <requirement type="package" version="3.6">python</requirement>
|
|
5 </requirements>
|
|
6 <command detect_errors="exit_code"><![CDATA[
|
|
7 python3 $__tool_directory__/long2short.py -i "$input1" -o "$output1" -cov ${coverage} -L ${insert_length} -l ${read_length}
|
|
8 ]]></command>
|
|
9 <inputs>
|
|
10 <param type="data" name="input1" format="fasta" />
|
|
11 <param type="integer" name="insert_length" value="1000" />
|
|
12 <param type="integer" name="read_length" value="300" />
|
|
13 <param type="float" name="coverage" value="0.1" min="0.0001" max="10"/>
|
|
14 </inputs>
|
|
15 <outputs>
|
|
16 <data name="output1" format="fasta" />
|
|
17 </outputs>
|
|
18 <tests>
|
|
19 <test>
|
|
20 <param name="input1" value="read_10k_ALL_oxford_nanopore_sample" />
|
|
21 <param name="cov" value="0.1" />
|
|
22 <param name="insert_length" value="600" />
|
|
23 <param name="read_length" value="100" />
|
|
24 <output name="output1" file="pseudo_paired_end.fasta"/>
|
|
25 </test>
|
|
26 </tests>
|
|
27 <help><![CDATA[ Create pseudo short paired-edn reads from long read with
|
|
28 required read length, insert length and coverage. Original position on long
|
|
29 reads is kept as part of the read name ]]></help>
|
|
30
|
|
31 </tool>
|