aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader/validation
diff options
context:
space:
mode:
authorPjotr Prins2020-04-10 12:30:04 -0500
committerPjotr Prins2020-04-10 12:30:04 -0500
commit9798e5d898b1996e6537cc4d8ca804b91f595920 (patch)
treed80e01d733fddb79a3c59b255eeb24d9e2dd27cb /bh20sequploader/validation
parentf27a6a3e3be2446660e2f59c1106dcaba32971cf (diff)
parentb2d3b410cb5d9e0621cfb32bf71ea84d44bf19b1 (diff)
downloadbh20-seq-resource-9798e5d898b1996e6537cc4d8ca804b91f595920.tar.gz
bh20-seq-resource-9798e5d898b1996e6537cc4d8ca804b91f595920.tar.lz
bh20-seq-resource-9798e5d898b1996e6537cc4d8ca804b91f595920.zip
Merge branch 'master' of github.com:arvados/bh20-seq-resource
Diffstat (limited to 'bh20sequploader/validation')
-rw-r--r--bh20sequploader/validation/Makefile4
-rw-r--r--bh20sequploader/validation/formats4
-rw-r--r--bh20sequploader/validation/formats.mgcbin0 -> 1032 bytes
3 files changed, 8 insertions, 0 deletions
diff --git a/bh20sequploader/validation/Makefile b/bh20sequploader/validation/Makefile
new file mode 100644
index 0000000..1ca13fb
--- /dev/null
+++ b/bh20sequploader/validation/Makefile
@@ -0,0 +1,4 @@
+compile: formats.mgc
+
+formats.mgc :
+ file -C -m formats
diff --git a/bh20sequploader/validation/formats b/bh20sequploader/validation/formats
new file mode 100644
index 0000000..ac804cf
--- /dev/null
+++ b/bh20sequploader/validation/formats
@@ -0,0 +1,4 @@
+0 regex \^\>.+\r?\n([acgtnACGTN]+\r?\n)*[acgtnACGTN]+(\r?\n)?$ FASTA
+!:mime text/fasta
+0 regex \^@.+\r?\n[acgtnACGTN]*\n\\+.*\n[!-i]*(\r\n)? FASTQ
+!:mime text/fastq \ No newline at end of file
diff --git a/bh20sequploader/validation/formats.mgc b/bh20sequploader/validation/formats.mgc
new file mode 100644
index 0000000..bff282a
--- /dev/null
+++ b/bh20sequploader/validation/formats.mgc
Binary files differ