-
Notifications
You must be signed in to change notification settings - Fork 0
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
Incorporating SNP data #40
Conversation
I changed the original |
…le Details or Phenotype Report
I noticed the UAS Sample Details Reports used in the UAS_bulk_upload tests contained sample/analysis/project IDs. I changed the files to positive control (2800M) UAS Sample Detail Reports (and gave generic IDs). Also fixed the |
Ahh, I see you've reached the final stage of programmer's grief.
|
…ata; refactored code into different functions
…p" and "a" SNPs included when "p" is specified on CLI)
@standage this PR is ready for review. Let me know if you think there are additional tests I should include. I had mentioned in our meeting yesterday that we were getting additional data to test the code with, but I have no idea when that would be, so I think we can move ahead with this and make any changes based on new data later. |
snp_loc = metadata['Coord'] | ||
snp_call = seq[snp_loc] |
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.
So these two lines are the primary logic for determining the SNP allele, right? Everything else seems to be handling special cases or putative and unexpected indels.
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.
Yup!
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.
Looks good to me. I can't claim to have given every block of code a thorough examination. But the central logic seems pretty straightforward, the CLI is clear and well documented, and the tests pass for me, so thumbs up from me!
Can you approve the merge? It' still saying Review required for some reason. |
Oh... nevermind! I guess my page just had to refresh :) |
This PR will be for including SNP data into lusSTR for ForenSeq. There are several steps involved with this:
format_snps
andannotate_snps
)