# HG changeset patch
# User cropgeeks
# Date 1488453286 18000
# Node ID 927533e85a6abf911a48941e1bafd2a5e59928ed
# Parent 414aa590a1de2951a5efc67d48aefea8d6f79f2b
Uploaded
diff -r 414aa590a1de -r 927533e85a6a flapjack.py
--- a/flapjack.py Thu Mar 02 05:40:54 2017 -0500
+++ b/flapjack.py Thu Mar 02 06:14:46 2017 -0500
@@ -9,7 +9,7 @@
if super(FlapjackFormat, self).sniff(filename):
fj_table_names = ["objects", "project"]
try:
- conn = sqlite.connect( filename )
+ conn = sqlite.connect(filename)
c = conn.cursor()
tables_query = "SELECT name FROM sqlite_master WHERE type='table' ORDER BY name"
result = c.execute(tables_query).fetchall()
@@ -19,7 +19,7 @@
return False
return True
except Exception as e:
- log.warning( '%s, sniff Exception: %s', self, e )
+ log.warning('%s, sniff Exception: %s', self, e)
return False
class FlapjackMapFormat(Tabular):
diff -r 414aa590a1de -r 927533e85a6a hapmap2fj.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hapmap2fj.xml Thu Mar 02 06:14:46 2017 -0500
@@ -0,0 +1,58 @@
+
+
+
+
+ convert an HapMap formatted file into a Flapjack-formatted genotype file
+ java -Xmx$memory -cp $__tool_directory__/lib/flapjack.jar jhi.flapjack.io.cmd.HapMapToFJTabbedConverter
+ -hapmap=$hapmap
+ -separator=$separator
+ -map=$map
+ -genotypes=$genotypes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 10.1093/bioinformatics/btq580
+
+
\ No newline at end of file
diff -r 414aa590a1de -r 927533e85a6a hdf52fj.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hdf52fj.xml Thu Mar 02 06:14:46 2017 -0500
@@ -0,0 +1,55 @@
+
+
+ convert an HDF5 formatted genotype file into a Flapjack-formatted genotype file
+ java -Xmx$memory -cp $__tool_directory__/lib/flapjack.jar jhi.flapjack.io.cmd.Hdf5ToFJTabbedConverter
+ -hdf5=$hdf5
+ -lines=$lines
+ -markers=$markers
+ -missing_filter=$missing_filter
+ -heterozygous_filter=$heterozygous_filter
+ -genotypes=$genotypes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 10.1093/bioinformatics/btq580
+
+
\ No newline at end of file