Skip to content

Commit

Permalink
collusion test
Browse files Browse the repository at this point in the history
  • Loading branch information
sara-santana committed Nov 29, 2024
1 parent 8cf9ac4 commit b6f87ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon/scripts/collusion_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def main():
# Try and query all the variants starting with the lower frequency ones
if variant_ids:
print(f"The genomic variants for biosampleId {individual_id} are (sorted by alleleFrequency):")
print("THE BUDGET OF THE INDIVIDUAL IS BEGIN: ", client.beacon.get_collection('budget').find_one({"individualId": individual_id})['budget'])
for vid in variant_ids:
var_count += 1
variant_doc = collection.find_one({'variantInternalId': vid})
Expand All @@ -150,6 +149,7 @@ def main():
end = variant_doc["_position"]["endInteger"]
vType = variant_doc["variation"]['variantType']
stdout, stderr = query_variant_with_curl(access_token, alt, ref, start, end, vType)
print("THE BUDGET OF THE INDIVIDUAL IS BEGIN: ", client.beacon.get_collection('budget').find_one({"individualId": individual_id})['budget'])
if individual_id in stdout:
print("!!!!!!!!!!!!!!!!!!!!!!!!!!!")
print(f"The individual {individual_id} was removed in variant number {var_count}")
Expand Down

0 comments on commit b6f87ed

Please sign in to comment.