-
Notifications
You must be signed in to change notification settings - Fork 4
KCE/KBE-5 #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| if os.path.exists(input_vcf): | ||
| os.remove(input_vcf) | ||
| if os.path.exists(output_vcf): | ||
| os.remove(output_vcf) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can understand removing output in case of error, but why do you remove input?
| try: | ||
| output_vcf = run_spliceai(input_vcf, fasta_path) | ||
| spliceai_scores = parse_spliceai_vcf(output_vcf) | ||
|
|
||
| scores_df = pd.DataFrame(spliceai_scores) | ||
| scores_df.columns = [f"{col}_spliceai" for col in scores_df.columns] | ||
| data_copy = pd.concat([data_copy.reset_index(drop=True), | ||
| scores_df.reset_index(drop=True)], axis=1) | ||
| finally: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What error expected? If error happens, how do we know what error happened?
Implemented revel with optional parameters for geneticist. Method was reformatted from Nojus' method
Method was not tested due to time required to test it.