changeset 0:3c99ff6e67ca draft

Uploaded
author p.lucas
date Tue, 23 Jul 2024 14:28:39 +0000
parents
children 60e768cf5101
files fasta_to_fastq.xml
diffstat 1 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fasta_to_fastq.xml	Tue Jul 23 14:28:39 2024 +0000
@@ -0,0 +1,24 @@
+<tool id="fasta_to_fastq" name="FASTA to FASTQ" version="1.0">
+  <description>Convert a FASTA file to a FASTQ file</description>
+  <requirements>
+    <requirement type="package" version="1.79">biopython</requirement>
+  </requirements>
+  <command><![CDATA[
+    python '$__tool_directory__/fasta2fastq.py' 
+      -i "$inputfile"
+      -s "$score"
+      -o "$output"
+  ]]>
+  </command>
+  <inputs>
+    <param type="data" name="inputfile" format="fasta" label="Input fasta file"/>
+    <param type="integer" name="score" label="Quality score" value="40" help="Quality score you wanted for each base in all reads. (default: 40)"/>
+  </inputs>
+  <outputs>
+    <data name="output" format="fastq" label="${tool.name} on ${on_string}"/>
+  </outputs>
+  <help> <![CDATA[
+    Takes a FASTA file and converts it to a FASTQ file by adding a static quality score. The default quality score for each base in all reads is 40.
+  ]]> 
+  </help>
+</tool>
\ No newline at end of file