Skip to content
Snippets Groups Projects
Commit ea47d9bc authored by jkvis's avatar jkvis Committed by Vermaat
Browse files

Updated extractor_loader.py and test.py for the new describe.py

parent 8ef4a68a
No related branches found
No related tags found
No related merge requests found
......@@ -23,10 +23,10 @@ def main():
alt = f.read()
f.close()
extracted_allele = describe.describe(ref, alt)
extracted_allele = describe.describe_dna(ref, alt)
print describe.extractor.VERSION
print "HGVS: " + describe.allele_description(extracted_allele)
print "Description Extractor Version " + describe.extractor.VERSION
#print "HGVS: " + describe.allele_description(extracted_allele)
print "JSON: " + json.dumps({"reference_sequence": ref, "sample_sequence": alt, "allele_description": extracted_allele}, cls=MyEncoder)
#main
......
......@@ -12,10 +12,10 @@ def main():
ref = "ACGTCGATTCGCTAGCTTCGGGGGATAGATAGAGATATAGAGATATTTTT"
alt = "ACGTCGGTTCGCTAGCTTCGGGGGATAGATAGATATATAGAGATATTTTT"
extracted_allele = describe.describe(ref, alt)
extracted_allele = describe.describe_dna(ref, alt)
print extracted_allele
print describe.allele_description(extracted_allele)
#print describe.allele_description(extracted_allele)
print json.dumps({"reference_sequence": ref, "sample_sequence": alt,
"allele_description": extracted_allele}, cls=MyEncoder)
#main
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment