Skip to content

Commit

Permalink
create own dir
Browse files Browse the repository at this point in the history
  • Loading branch information
bence42 committed Sep 7, 2022
1 parent ad7ffdd commit 4a8ed37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions genie.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ def get_variation_accession_version(variation_id: str | int) -> ClinVarVariation


def write_csv(results_file_name: str, search_and_results: list[tuple[Mutation, ClinVarVariation | None]]):
os.makedirs('./results', exist_ok=True)
with open(f'./results/{results_file_name}', 'w') as output:
output.write(
f'Chromosome;Base position;ClinVar title;ClinVar accession;Frequency;Clinical significance')
Expand Down

0 comments on commit 4a8ed37

Please sign in to comment.