Open
Description
Is this the genotype of the probe or the reference? I believe it is the probe.... is there a way to add the reference genotype to it? Thank you.
from IlluminaBeadArrayFiles import GenotypeCalls, BeadPoolManifest, code2genotype
gtc_file = "path_to_genotypes.gtc"
manifest_file = "path_to_manifest.bpm"
names = BeadPoolManifest( manifest_file ).names
genotypes = GenotypeCalls( gtc_file ).get_genotypes()
c = 0 # a counter to only show the first 10 genotypes
for (locus, genotype) in zip( names, genotypes ):
print( locus + "," + code2genotype[genotype] )
if c >= 10:
break
c += 1
Metadata
Assignees
Labels
No labels