aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader/validation/formats
diff options
context:
space:
mode:
authorPjotr Prins2020-04-10 12:25:51 -0500
committerGitHub2020-04-10 12:25:51 -0500
commitb2d3b410cb5d9e0621cfb32bf71ea84d44bf19b1 (patch)
tree0bfddd986d18b2bcdd4157d808ac6718866a584f /bh20sequploader/validation/formats
parent686bb7e2b3e3bdb326553f2094a07d4f987e303b (diff)
parentbef2a43185f9494398f5d5a8cdb6c5f34352f912 (diff)
downloadbh20-seq-resource-b2d3b410cb5d9e0621cfb32bf71ea84d44bf19b1.tar.gz
bh20-seq-resource-b2d3b410cb5d9e0621cfb32bf71ea84d44bf19b1.tar.lz
bh20-seq-resource-b2d3b410cb5d9e0621cfb32bf71ea84d44bf19b1.zip
Merge pull request #6 from uniqueg/fa_fq_validation
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