Commit 28fcf83c authored by Luis Pedro Coelho's avatar Luis Pedro Coelho
Browse files

Remove unused function

parent 2e0a25ae
......@@ -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