New debug option to output the assembly graph in dot format. Merge nodes in assembly graph when possible.
This commit is contained in:
parent
9e10779fa7
commit
a29fc6311a
|
|
@ -500,7 +500,7 @@ public class PairHMMIndelErrorModel {
|
||||||
if (stop > ref.getWindow().getStop())
|
if (stop > ref.getWindow().getStop())
|
||||||
stop = ref.getWindow().getStop();
|
stop = ref.getWindow().getStop();
|
||||||
|
|
||||||
// if there's an insertion in the read, the read stop position will be less than start + read legnth,
|
// if there's an insertion in the read, the read stop position will be less than start + read length,
|
||||||
// but we want to compute likelihoods in the whole region that a read might overlap
|
// but we want to compute likelihoods in the whole region that a read might overlap
|
||||||
if (stop <= start + readLength) {
|
if (stop <= start + readLength) {
|
||||||
stop = start + readLength-1;
|
stop = start + readLength-1;
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,7 @@ public class MathUtils {
|
||||||
/**
|
/**
|
||||||
* Calculates the log10 cumulative sum of an array with log10 probabilities
|
* Calculates the log10 cumulative sum of an array with log10 probabilities
|
||||||
*
|
*
|
||||||
* @param log10p the array with log10 probabilites
|
* @param log10p the array with log10 probabilities
|
||||||
* @param upTo index in the array to calculate the cumsum up to
|
* @param upTo index in the array to calculate the cumsum up to
|
||||||
* @return the log10 of the cumulative sum
|
* @return the log10 of the cumulative sum
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue