- 05 Jun, 2015 1 commit
-
-
Alistair Ward authored
-
- 21 May, 2015 1 commit
-
-
Erik Garrison authored
-
- 20 May, 2015 2 commits
-
-
Erik Garrison authored
-
Erik Garrison authored
I've verified that freebayes now only works using whole-chromosome sequences. The anti-pattern of trying to cache little bits of the reference has been resolved by removing offending methods in the AlleleParser. The system should also run much faster. This likely affects #163, #166, #168, #170, but reporters need to test before I close these.
-
- 28 Apr, 2015 2 commits
-
-
Erik Garrison authored
Fix link to Brad's blog post.
-
Nicola Soranzo authored
-
- 23 Apr, 2015 1 commit
-
-
Erik Garrison authored
It's much easier to just load the entire sequence we're working on. This commit does that.
-
- 13 Apr, 2015 4 commits
-
-
Erik Garrison authored
Avoids an infinite loop.
-
Erik Garrison authored
-
Erik Garrison authored
-
Erik Garrison authored
Only try to step to the next place with data when we've *passed* the last of the current alignments.
-
- 10 Apr, 2015 1 commit
-
-
Erik Garrison authored
-
- 24 Mar, 2015 2 commits
-
-
Erik Garrison authored
And the tests pass...
-
Erik Garrison authored
A previous edit had removed an important call to loadReferenceSequence(alignment) when using a target region. This yielded #155.
-
- 11 Mar, 2015 2 commits
-
-
Erik Garrison authored
-
Erik Garrison authored
-
- 10 Mar, 2015 1 commit
-
-
Erik Garrison authored
-
- 09 Mar, 2015 2 commits
-
-
Erik Garrison authored
-
Erik Garrison authored
Should work by default, the only dep is cmake, which tends to be on travis.
-
- 06 Mar, 2015 4 commits
-
-
Erik Garrison authored
-
Erik Garrison authored
-
Erik Garrison authored
To add tests, drop them into test/t/. bash-tap is used, and included here. The idea is to use command-line tests of the function of the method. A tiny test region from NA12878 is included.
-
Erik Garrison authored
-
- 05 Mar, 2015 1 commit
-
-
Erik Garrison authored
-
- 02 Mar, 2015 1 commit
-
-
Erik Garrison authored
For a long time, the best way to genotype diploids using freebayes was by specifying --experimental-gls. This model incorporates a lot of things into the genotype likelihoods (GLs) that matter, such as the effective base depth metric (Q = MQ * BQ) from SNPTools, and partial observation support (which matters for big deletions, and long haplotypes). However, bugs when handling polyploids prevented me from setting it as default. With this commit, these issues are resolved and the default is now set to what was previously specified by "--experimental-gls". Use --legacy-gls for old polybayes-equivalent operation.
-
- 14 Jan, 2015 5 commits
-
-
Erik Garrison authored
After rewrite it was omitted.
-
Erik Garrison authored
It was going to add a mb per compile! No way!
-
Erik Garrison authored
-
Erik Garrison authored
Resolves a bug around long indel detection. This was related to the change of underlying Allele objects between when partial support was established and when it was used (phew).
-
Erik Garrison authored
-
- 17 Dec, 2014 1 commit
-
-
Erik Garrison authored
Basic automated tests for region/target handling
-
- 15 Dec, 2014 6 commits
-
-
Erik Garrison authored
Region without coords
-
Thomas Sibley authored
-
Thomas Sibley authored
This uses the Test-Simple bash library to support TAP output. TAP output means that it works with pretty much any testing framework. prove is a common way to run tests: prove -v test/ -
Thomas Sibley authored
-
Thomas Sibley authored
They used stopPos = -1 to signal "until the end of the reference", but the reference length (1-origin, inclusive) was used directly instead of also being converted to a 0-origin, inclusive bound. Other targets like chrZ:0-200 are already properly adjusted to be fully-closed.
-
Thomas Sibley authored
This reverts commit 22295cfc. The right fix for this is actually a few lines above: (stopPos == -1) ? reference.sequenceLength(startSeq) : stopPos - 1); // internally, we use 0-base inclusive end should be (stopPos == -1) ? reference.sequenceLength(startSeq) - 1 : stopPos - 1); // internally, we use 0-base inclusive end or ((stopPos == -1) ? reference.sequenceLength(startSeq) : stopPos) - 1); // internally, we use 0-base inclusive end and then this commit should be reverted. Other targets like chrZ:0-200 are already adjusted to be fully-closed in targets, so the correct comparison is bd.right + 1 > reference.sequenceLength(...). The bug is that targets like chrZ were left half-open by mistake. I missed this when I was auditing!
-
- 14 Dec, 2014 3 commits
-
-
Erik Garrison authored
-
Erik Garrison authored
-
Erik Garrison authored
-