Oops. Let's make sure only to write calls that the pool supports to the auxiliary vcf files.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1974 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
43c3ee61d5
commit
eca0942644
|
|
@ -145,6 +145,7 @@ for line in callFile:
|
||||||
except KeyError:
|
except KeyError:
|
||||||
# do nothing
|
# do nothing
|
||||||
pass
|
pass
|
||||||
|
if grep(poolInternalIDs[i],supportingPools):
|
||||||
#print this out to the file
|
#print this out to the file
|
||||||
chromsplit = chrompos.split(":")
|
chromsplit = chrompos.split(":")
|
||||||
outstr=chromsplit[0]+"\t"+chromsplit[1]+"\t"+dbSNP+"\t"+ref+"\t"+variant+"\t"+str(qual)+"\t0\t"+"DP="+str(depth)+";SB="+str(slod)+"\n"
|
outstr=chromsplit[0]+"\t"+chromsplit[1]+"\t"+dbSNP+"\t"+ref+"\t"+variant+"\t"+str(qual)+"\t0\t"+"DP="+str(depth)+";SB="+str(slod)+"\n"
|
||||||
|
|
@ -163,7 +164,7 @@ for line in callFile:
|
||||||
#propagate individual pool information
|
#propagate individual pool information
|
||||||
for i in range(len(poolNames)):
|
for i in range(len(poolNames)):
|
||||||
phase = "0/0"
|
phase = "0/0"
|
||||||
if grep(poolNames[i],supportingPools):
|
if grep(poolInternalIDs[i],supportingPools):
|
||||||
phase = "0/1"
|
phase = "0/1"
|
||||||
else:
|
else:
|
||||||
phase = "0/0"
|
phase = "0/0"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue