Commit 49ceb3ec authored by Aflitos, Saulo Alves's avatar Aflitos, Saulo Alves
Browse files

vcf stats reporting

parent 53def274
......@@ -13,3 +13,6 @@
*/map
*.fa
scons/
*.vcf
*.json
*.html
......@@ -4,8 +4,14 @@ import os
import sys
import gzip
import simplejson as json
from datetime import datetime as dt
from pprint import pprint as pp
from pprint import pprint as pp
SAMPLE_VALUE = 5000 # 1 for no sampling
SAMPLE_END = 1000 # -1 for no end
SAMPLE_VALUE = 1 # 1 for no sampling
SAMPLE_END = -1 # -1 for no end
def openfile(infile):
if infile.endswith( '.gz' ):
......@@ -145,9 +151,9 @@ def main(infiles):
#sys.exit(0)
count += 1
if count % 1000 != 0:
if count % SAMPLE_VALUE != 0:
continue
pass
#print line
......@@ -296,9 +302,9 @@ def main(infiles):
if count == 1000:
#break
pass
if count == SAMPLE_END:
break
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment