Inverse function to matchAfreq
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- r
- Domain
- bioinformatics
Research direction
Start by reading the existing matchAfreq function and tracing how dsmp and afreq are validated and consumed. Check whether adding alleles with zero frequencies produces sensible relatedness results across representative inputs, then document the expected behavior and determine whether the inverse belongs in Dcifer.
Written by the indexing model from the issue text.
Description
Hi Inna,
I have encountered an error caused by alleles present in dsmp, but not present in the afreq I am using.
It seems that the baseline samples I'm using for calculating the population allele frequencies do not have these alleles.
I've looked at the matchAfreq function, but I needed the inverse of that, so I've created a function that added alleles with zero frequencies to the afreq, based on the dsmp used.
Questions:
- I've tried using the modified
afreqand it seemed to work, but will that return sensible results? The numbers look similar - Do you think this worthwhile to incorporate to Dcifer? I'm happy to create a pull request!
- Dominant language
- C
- Stars
- 8
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EPPIcenter/dcifer
-
Whole Genome DataOpen
Difficulty 5/5 Over a week Newbie friendliness 20/100
EPPIcenter/dcifer#3 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
EPPIcenter/dcifer#1 · 1 comment ·
All issues in EPPIcenter/dcifer
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
quickjs-ng/quickjs#1836 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
open-quantum-safe/liboqs#2637 ·
Maintainers usually reply within 1 day
-
Go device SDK: Whisper transcriber keeps buffering and transcribing audio appended after Stop()Possibly taken @apoorvdarshan claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#22770 ·
Maintainers usually reply within 1 day
-
fido_do_ecdh() reports any getKeyAgreement failure as FIDO_ERR_INTERNALPossibly taken @brlumen claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
joncampbell123/dosbox-x#6698 ·
Maintainers usually reply within 1 day