MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / getXYBAFforPloidy

Function getXYBAFforPloidy

src/myFunc.cpp:2464–2476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2462}
2463
2464std::string getXYBAFforPloidy(int ploidy) {
2465 if (ploidy>1) {
2466 int Acount = ploidy/2;
2467 string BAF = "A";
2468 for (int i = 1; i<Acount;i++)
2469 BAF += "A";
2470 return BAF;
2471 } else {
2472 if (ploidy==1)
2473 return "A";
2474 }
2475 return "";
2476}
2477
2478bool getELANDinfo(std::string line,std::string &chr1,std::string &chr2,std::string &orient1,std::string &orient2,int &left,int &right, int &insertSize) {
2479 if (! line.length())

Calls

no outgoing calls

Tested by

no test coverage detected