aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader/validation/formats
diff options
context:
space:
mode:
authorAlex Kanitz2020-04-10 18:27:44 +0200
committerAlex Kanitz2020-04-10 18:27:44 +0200
commitbef2a43185f9494398f5d5a8cdb6c5f34352f912 (patch)
tree28cfcbeea67a10c0b6c06e452e33de3e4b4fa457 /bh20sequploader/validation/formats
parentb1039ff369ee88770e42d1bbbdc402b1181c2aa5 (diff)
downloadbh20-seq-resource-bef2a43185f9494398f5d5a8cdb6c5f34352f912.tar.gz
bh20-seq-resource-bef2a43185f9494398f5d5a8cdb6c5f34352f912.tar.lz
bh20-seq-resource-bef2a43185f9494398f5d5a8cdb6c5f34352f912.zip
validate seq format with magic file
Diffstat (limited to 'bh20sequploader/validation/formats')
-rw-r--r--bh20sequploader/validation/formats4
1 files changed, 4 insertions, 0 deletions
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