Commit 7db3e741 authored by Paul Igor Costea's avatar Paul Igor Costea
Browse files

Merge branch 'master' into 'master'

Remove unused function

See merge request !3
parents 2e0a25ae 28fcf83c
......@@ -282,22 +282,6 @@ int getSum(std::map<char,long*>& map, std::string c, int sample=0) {
return sum;
}
/**
* @brief Check that at least one sample has a relevant SNP at this position
*/
bool isPersonalSNP(std::map<char,long*>& map, int nrSamples, std::string snp) {
std::string cov = "actgACTG,.";
for (int i=1; i<=nrSamples; ++i) {
int c = getSum(map,cov,i);
int s = getSum(map,snp,i);
if ((s >= c*CALLING_MIN_FRACTION) && (s >= CALLING_THRESHOLD)) {
return true;
}
}
return false;
}
/**
* @brief Return a reverse complemented copy of the input
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment