| 2445 | } |
| 2446 | |
| 2447 | std::string getNormalBAFforPloidy(int ploidy) { |
| 2448 | if (ploidy>1) { |
| 2449 | int Bcount = ploidy/2; |
| 2450 | int Acount = ploidy-Bcount; |
| 2451 | string BAF = "A"; |
| 2452 | for (int i = 1; i<Acount;i++) |
| 2453 | BAF += "A"; |
| 2454 | for (int i = 0; i< Bcount;i++) |
| 2455 | BAF += "B"; |
| 2456 | return BAF; |
| 2457 | } else { |
| 2458 | if (ploidy==1) |
| 2459 | return "A"; |
| 2460 | } |
| 2461 | return ""; |
| 2462 | } |
| 2463 | |
| 2464 | std::string getXYBAFforPloidy(int ploidy) { |
| 2465 | if (ploidy>1) { |
no outgoing calls
no test coverage detected