-
Notifications
You must be signed in to change notification settings - Fork 37
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
Make up to date with VertebrateResequencing / pbwt ? #50
Open
CholoTook
wants to merge
40
commits into
richarddurbin:master
Choose a base branch
from
VertebrateResequencing:production
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Make up to date with VertebrateResequencing / pbwt ? #50
CholoTook
wants to merge
40
commits into
richarddurbin:master
from
VertebrateResequencing:production
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…h GATK allele depth
bugfix for reading and writing samples files
add a command -log to allow logging to a file
vcf/bcf opening can now do so via libcurl/irods if htslib configured for that
* ploidy I/O should now actually work * VCF output now treats missing data correctly * imputeMissing now called on the merge of the input data and frame prior to imputation * still some I/O work todo with missing/dosage and subsetting sites and samples
* add `-removeSamples` option * when subsetting samples and sites, also update `missing` for these subsets * fix bug in `pbwtRemoveSites` where it would not print out sites beyond the last site in the `removeSites` file * add tests
It was not practical. For a large input cohort most sites will have at least one sample with missing data and the given implementation would fall over
revert whitespace changes to clean up diff
rename `sample()` to `pbwtSample()` to indicate it is getting indexing into the `p->samples` array rather than the global `sampleDict`. `sample()` then is the used to look up in `sampleDict`.
reading the `.samples` file will now guess `isX` and `isY` by comparing the number of samples with the number of haplotypes. `pbwtReadVcfGT` requires the command line `-X` and `-Y` option to be set
not entirely sure what state this is in...
Because a static sample dictionary is used and two sample sets are read (once for input VCF and once for the reference panel), the sample indexes were incorrect.
Feature/ploidy
for the following command: valgrind ./pbwt -log /dev/null -readVcfGT test/refImpute.in.vcf -referenceImpute xxx/OMNI -writeVcf /dev/null
…eferenceImpute The kOld iterator is incremented before it is used, so the the >= equalities were selected incorrect (non-overlapping) segments. In this commit also matchSequencesSweepSparse() is replaced by matchSequencesSweep(), this may not be desired, not sure.
Test whether the assumption is true rather than inserting hard values to notify us about possible problems.
…g, correct order of updating cursor; in paintAncestryMatrix() free a couple more arrays to fix memory leak
…major allele [temporary solution]
Gah... there's clearly too much here... Lets look at just the 13 commits in this fork that aren't in the VertebrateResequencing fork... |
Hi Dan. Sorry, I just picked up this thread and will look at this. Richard
From: Dan Bolser ***@***.***>
Date: Tuesday, 8 March 2022 at 14:52
To: richarddurbin/pbwt ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [richarddurbin/pbwt] Make up to date with VertebrateResequencing / pbwt ? (PR #50)
Gah... there's clearly too much here... Lets look at just the 13 commits in this fork that aren't in the VertebrateResequencing fork...
—
Reply to this email directly, view it on GitHub<#50 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA2FXZSGFGPFSFHCSABLZKLU65SSLANCNFSM5QGR6KYA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
So... Looks OK... |
Thanks so much, I got confused quite quickly trying to merge the two.
```
git rebase durbo/master
First, rewinding head to replay your work on top of it...
Applying: set htslib=1.2.1, pbwt=3.1 and link against bsd
Using index info to reconstruct a base tree...
A makefile
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): makefile deleted in HEAD and modified in set
htslib=1.2.1, pbwt=3.1 and link against bsd. Version set htslib=1.2.1,
pbwt=3.1 and link against bsd of makefile left in tree.
error: Failed to merge in the changes.
Patch failed at 0001 set htslib=1.2.1, pbwt=3.1 and link against bsd
hint: Use 'git am --show-current-patch' to see the failed patch
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase
--abort".
```
…On Tue, 8 Mar 2022 at 15:03, Richard Durbin ***@***.***> wrote:
Hi Dan. Sorry, I just picked up this thread and will look at this. Richard
From: Dan Bolser ***@***.***>
Date: Tuesday, 8 March 2022 at 14:52
To: richarddurbin/pbwt ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [richarddurbin/pbwt] Make up to date with
VertebrateResequencing / pbwt ? (PR #50)
Gah... there's clearly too much here... Lets look at just the 13 commits
in this fork that aren't in the VertebrateResequencing fork...
—
Reply to this email directly, view it on GitHub<
#50 (comment)>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AA2FXZSGFGPFSFHCSABLZKLU65SSLANCNFSM5QGR6KYA
>.
Triage notifications on the go with GitHub Mobile for iOS<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANKSZTROJ7T5B7YTDZR2SB3U65T3ZANCNFSM5QGR6KYA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Perhaps it's my anal-retentive personality type, but the fact that you've diverged really bugs me.
If you don't want to merge changes, these should be separate projects no?
Cheers,