Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Revamping the --somatic_p code in pindel2vcf.cpp#69

Open
JohnMCMa wants to merge 3 commits intogenome:masterfrom
JohnMCMa:Somatic
Open

Revamping the --somatic_p code in pindel2vcf.cpp#69
JohnMCMa wants to merge 3 commits intogenome:masterfrom
JohnMCMa:Somatic

Conversation

@JohnMCMa
Copy link

This fixes several bugs involved in the --somatic_p flag in pindel2vcf.

  1. BUGFIX: The somatic p-value is written to the INFO string without a tag. A tag SPV (from the VarScan equivalant) is added to hold this data.
  2. BUGFIX: pindel outputs prior to 0.2.4u don't have ref support count, which may lead to unpredictable results. As a result, the p-values will not be written and a warning will be given to the user if this flag is turned on and the file is of the old format.
  3. BUGFIX: The Fisher's test algorithm implemented used in kfunc.c is copied verbatim to this file but never used. It is now implemented instead of a factorial-based method which is unstable and gives out too much NaN.

This should fix #51 .

JohnMCMa added 3 commits June 28, 2017 09:42
bugfix: Currently when --somatic_p is triggered a p-value is written to
the INFO string without a field name. It is now given a name of SPV from
the equivalant statistic from VarScan
(http://dkoboldt.github.io/varscan/somatic-calling.html)
* Implementing the algorithm used in htslib (already put in the code but
never called)
* Since files from pindel < 0.2.4u doesn't contain RD, --somatic_p will
be turned off even if the user flags it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pindel2vcf error: unknown argument: –so

1 participant