changeset 0:317ba2ee501d draft

"planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
author nml
date Tue, 27 Aug 2019 12:33:00 -0400
parents
children 4d3e3d7aa0c4
files snv_matrix.xml test-data/snvalign-13.phy test-data/snvalign-13.phy.out
diffstat 3 files changed, 51 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/snv_matrix.xml	Tue Aug 27 12:33:00 2019 -0400
@@ -0,0 +1,39 @@
+<tool id="snvmatrix" name="SNV Matrix" version ="1.8.2">
+  <description>Create SNV matrix from Phylip file</description>
+  <requirements>
+    <requirement type="package" version="1.8.2">snvphyl-tools</requirement>
+  </requirements>
+  <command detect_errors="exit_code">
+	snv_matrix.pl   $phylip
+	-o $out
+  </command>
+  <inputs>
+    <param name="phylip" type="data" label="Phylip file" format="phylip"/>
+  </inputs>
+  <outputs>
+    <data format="tabular" name="out"/>
+  </outputs>
+  <tests>
+    <test>
+      <param name="phylip" value="snvalign-13.phy"/>
+      <output name="out" file="snvalign-13.phy.out"/>
+    </test>
+  </tests>
+
+  <help>
+What it does
+============
+
+Create SNV matrix from Phylip file format
+
+
+Usage
+=====
+
+**Parameters**
+  - Phylip file: Phylogenetic file (.ph, .phy)
+
+  </help>
+<citations>
+</citations>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/snvalign-13.phy	Tue Aug 27 12:33:00 2019 -0400
@@ -0,0 +1,6 @@
+ 5 3
+'a'	AAY
+'b'	AAA
+'c'	AAA
+'d'	TAA
+'e'	NGG
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/snvalign-13.phy.out	Tue Aug 27 12:33:00 2019 -0400
@@ -0,0 +1,6 @@
+strain	a	e	b	c	d	
+a	0	1	0	0	0	
+e	1	0	1	1	1	
+b	0	1	0	0	0	
+c	0	1	0	0	0	
+d	0	1	0	0	0