-
Notifications
You must be signed in to change notification settings - Fork 71
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
Create SampleQC and Batching notebooks #744
base: main
Are you sure you want to change the base?
Conversation
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.
This is looking great! I've only had a chance to go through the QC notebook so far and my only broad comment is to document the figures so they are all clearly explained.
Co-authored-by: Mark Walker <[email protected]>
Co-authored-by: Mark Walker <[email protected]>
Co-authored-by: Mark Walker <[email protected]>
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.
Thanks for your updates. I moved on to the Batching notebook but ran into a problem, see below.
"source": [ | ||
"# Display metadata table, which was generated as part of EvidenceQC\n", | ||
"PASS_METADATA = os.path.join(WS_BUCKET, \"evidence_qc/filtering/passed_samples_qc_metadata.tsv\")\n", | ||
"pass_df = pd.read_table(PASS_METADATA)\n", |
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.
This is breaking on me:
FileNotFoundError: b/fc-41a63557-9ddf-41ba-b5d0-807be90ddb87/o/evidence_qc%2Ffiltering%2Fpassed_samples_qc_metadata.tsv
Does pandas support reading directly from buckets?
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.
Yes, it does - you need to use gs://
as a prefix though.
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.
Sorry, on closer inspection I realized that this is automatically set based on WS_BUCKET
, which is pulled from os.environ['WORKSPACE_BUCKET']
. Strange to me that this does not automatically prepend gs://
in this case though, as it does for me...do you mind sharing the value of WS_BUCKET
in your notebook?
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.
Updated accordingly - file path now matches what is generated in the QC notebook.
This PR introduces the initial set of
SampleQC
andBatching
notebooks part of the featured workspace into the GATK-SV repository to enable fine-grained source control. They have been added to the newly-createdscripts/notebooks/
directory.