-
Notifications
You must be signed in to change notification settings - Fork 4
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
Complete greedyMix features #24
Comments
This is a desirable feature, but was not implemented in the original BAPS, so better leave it out until the original planned features is working.
* baps-format: Increment version number to 0.0.0.9025 Skips `greedyMix()` example until #24 is fixed Updated documentation (#24) Fails for FAST input to `greedyMix()` (#24) Fixed calculation og `ninds` (#24) Bugfixes to `indMix()` and subfunctions (#24) Improved handling of BAPS format (#24) Fixed calculation of `ninds` `ekat` (#24) Added processing of BAPS format
Implemented rest of algo, which got us back to the issue of an endless loop. Investigating |
Based on suggestion from <https://stackoverflow.com/a/12605694/1169233>.
* issue-24: Increment version number to 0.0.0.9026 Added (commented) test for BAPS data (#24) Renamed global environment, fixed assignments (#24) Fixes to `laskeMuutokset()` (#24) Syntax fix to `indMix()` (#24) Retranslated `computeDiffInCounts()` (#24) Changed default `npops` to 3 (#24) `laskeMuutokset()` reads `npop` from parent functions (#24) Using a dedicated environment for globals (#24) Retranslated `computePopulationLogml()` (#24) Added/renamed BAPS example data (#24)
* issue-24: Increment version number to 0.0.0.9029 Disabled FASTA tests on greedyMix() (#24) Added synthetic FASTA file (#24) Ensure diffInCounts returns as.matrix (#24) Adapted tests to FASTA on greedyMix() (#24) Removed baps file pointing to fasta Improved conversion from FASTA to BAPS (#24) Improved handling of FASTA data (#24) `process_BAPS_data()` can handle file being an R object Added function to convert from FASTA to BAPS (#24) Unwrapped `greedyMix() example (#24)
* issue-24: Updated docs Temp-wrapping disfunctional code Aligned processing of Genepop with MATLAB code Dropped support for GenePop on `importFile()` Added `process_GenePop_data()` Fixed `addAlleles()` handleData defaults to BAPS format Added unit tests for `greedyMix()` on GenePop (#24) Added GenePop data, txt and gen (#24)
Done for all originally-supported formats, namely BAPS and GenePop. VCF and BAM are not on the original code, so one needs to reshape them into a format the rest of the function can use. For FASTA, a function was created to convert it to BAPS. It's still broken, but might be the easiest way to go here. |
The function currently loads the raw data, but doesn't process it. Check the code in
greedyPopMix()
and the original MATLAB code to see what else needs to be done (e.g. callhandleData()
).To close the issue, make sure
greedyMix()
works for the following formats:The text was updated successfully, but these errors were encountered: