Skip to content

Commit

Permalink
Updated the merging/consensus calling module.
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzsedlazeck committed Oct 4, 2016
1 parent c13a4cd commit cf22614
Show file tree
Hide file tree
Showing 59 changed files with 307 additions and 366 deletions.
8 changes: 0 additions & 8 deletions Debug/src/CorrectAllele.d

This file was deleted.

Binary file removed Debug/src/CorrectAllele.o
Binary file not shown.
3 changes: 0 additions & 3 deletions Debug/src/DetectDif.d

This file was deleted.

Binary file removed Debug/src/DetectDif.o
Binary file not shown.
11 changes: 0 additions & 11 deletions Debug/src/Extract_Seq.d

This file was deleted.

Binary file removed Debug/src/Extract_Seq.o
Binary file not shown.
54 changes: 0 additions & 54 deletions Debug/src/SURVIVOR.d

This file was deleted.

Binary file removed Debug/src/SURVIVOR.o
Binary file not shown.
8 changes: 0 additions & 8 deletions Debug/src/Summarize_SV.d

This file was deleted.

Binary file removed Debug/src/Summarize_SV.o
Binary file not shown.
4 changes: 0 additions & 4 deletions Debug/src/convert/ConvertMQ0Bed.d

This file was deleted.

Binary file removed Debug/src/convert/ConvertMQ0Bed.o
Binary file not shown.
15 changes: 0 additions & 15 deletions Debug/src/convert/Convert_Assemblytics.d

This file was deleted.

Binary file removed Debug/src/convert/Convert_Assemblytics.o
Binary file not shown.
14 changes: 0 additions & 14 deletions Debug/src/convert/Convert_Bionano.d

This file was deleted.

Binary file removed Debug/src/convert/Convert_Bionano.o
Binary file not shown.
14 changes: 0 additions & 14 deletions Debug/src/convert/Convert_Honey_tails.d

This file was deleted.

Binary file removed Debug/src/convert/Convert_Honey_tails.o
Binary file not shown.
14 changes: 0 additions & 14 deletions Debug/src/convert/Convert_Pindel.d

This file was deleted.

Binary file removed Debug/src/convert/Convert_Pindel.o
Binary file not shown.
15 changes: 0 additions & 15 deletions Debug/src/convert/Convert_VCF_to_BED.d

This file was deleted.

Binary file removed Debug/src/convert/Convert_VCF_to_BED.o
Binary file not shown.
12 changes: 0 additions & 12 deletions Debug/src/convert/Process_Lumpy.d

This file was deleted.

Binary file removed Debug/src/convert/Process_Lumpy.o
Binary file not shown.
21 changes: 0 additions & 21 deletions Debug/src/merge_vcf/IntervallTree.d

This file was deleted.

Binary file removed Debug/src/merge_vcf/IntervallTree.o
Binary file not shown.
21 changes: 0 additions & 21 deletions Debug/src/merge_vcf/combine_svs.d

This file was deleted.

Binary file removed Debug/src/merge_vcf/combine_svs.o
Binary file not shown.
9 changes: 0 additions & 9 deletions Debug/src/simulator/Eval_vcf.d

This file was deleted.

Binary file removed Debug/src/simulator/Eval_vcf.o
Binary file not shown.
4 changes: 0 additions & 4 deletions Debug/src/simulator/Pac_Simulator.d

This file was deleted.

Binary file removed Debug/src/simulator/Pac_Simulator.o
Binary file not shown.
4 changes: 0 additions & 4 deletions Debug/src/simulator/SV_Simulator.d

This file was deleted.

Binary file removed Debug/src/simulator/SV_Simulator.o
Binary file not shown.
11 changes: 0 additions & 11 deletions Debug/src/vcfs/Annotate_vcf.d

This file was deleted.

Binary file removed Debug/src/vcfs/Annotate_vcf.o
Binary file not shown.
14 changes: 0 additions & 14 deletions Debug/src/vcfs/Combine_3_VCF.d

This file was deleted.

Binary file removed Debug/src/vcfs/Combine_3_VCF.o
Binary file not shown.
11 changes: 0 additions & 11 deletions Debug/src/vcfs/Compoverlap_VCF.d

This file was deleted.

Binary file removed Debug/src/vcfs/Compoverlap_VCF.o
Binary file not shown.
9 changes: 0 additions & 9 deletions Debug/src/vcfs/Filter_vcf.d

This file was deleted.

Binary file removed Debug/src/vcfs/Filter_vcf.o
Binary file not shown.
6 changes: 0 additions & 6 deletions Debug/src/vcfs/Merge_VCF.d

This file was deleted.

Binary file removed Debug/src/vcfs/Merge_VCF.o
Binary file not shown.
4 changes: 2 additions & 2 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ change in the Debug directory.
type:
make

you should find an executable in the same director.
you should find an executable in the same directory.
If you have problems please let me know:
fritz.sedlazeck@gmail.cohould find an executable in the same director.
fritz.sedlazeck@gmail.com
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,20 @@ to see the individual parameters for each option.

choose the ID from these options:
```
Possible options
1: Simulate SV on genome
2: Simulate PacBio reads
3: Evaluate SV calling
4: Merge SV calls (vcf)
5: Consensus call from 2/3 callers
5: Merge + Consensus call from different callers/vcf files
6: Extract genes influenced by SVs
7: Filter and convert SV calls from Delly
8: Filter and convert SV calls from Lumpy
9: Filter and convert SV calls from Pindel
10: Convert SV calls from Assemblytics
11: Summarize MQ 0 coverage to bed file
12: Summarize SVs events in VCF file
10: Convert SV calls from PBHoney (tails)
11: Convert SV calls from Assemblytics
12: Summarize MQ 0 coverage to bed file
13: Summarize SVs events in VCF file
```

**************************************
Expand Down
17 changes: 9 additions & 8 deletions src/SURVIVOR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ int main(int argc, char *argv[]) {
std::cerr << "Output vcf file" << std::endl;
}
break;
case 5:
/*case 5:
if (argc == 7) {
//merge 3 SV calls from the same strain
combine_calls(std::string(argv[2]), std::string(argv[3]), std::string(argv[4]), atoi(argv[5]), std::string(argv[6]));
Expand All @@ -92,7 +92,7 @@ int main(int argc, char *argv[]) {
std::cerr << "max dist" << std::endl;
std::cerr << "Output prefix" << std::endl;
}
break;
break;*/
case 6:
if (argc == 6) {
generate_gene_list(std::string(argv[2]), std::string(argv[3]), atoi(argv[4]), std::string(argv[5]));
Expand Down Expand Up @@ -180,20 +180,21 @@ int main(int argc, char *argv[]) {
}
break;

case 14:
if (argc == 7) {
case 5: //prev 14!
if (argc == 8) {
//merge 3 SV calls from the same strain
// combine_calls_new(std::string(argv[2]), atoi(argv[3]), atoi(argv[4]), std::string(argv[5]));
combine_calls_svs(std::string(argv[2]), atoi(argv[3]), atoi(argv[4]), atoi(argv[5]), std::string(argv[6]));
combine_calls_svs(std::string(argv[2]), atoi(argv[3]), atoi(argv[4]), atoi(argv[5]), atoi(argv[6]), std::string(argv[7]));
} else {
std::cerr << "Tab file with names" << std::endl;
std::cerr << "max distance between breakpoints" << std::endl;
std::cerr << "Minimum number of supporting caller" << std::endl;
std::cerr << "Take the type into account (1==yes, else no)"<<std::endl;
std::cerr << "Take the strands of SVs into account (1==yes, else no)"<<std::endl;
std::cerr << "Output prefix" << std::endl;
}
break;
case 15:
/*case 15:
if (argc == 5) {
//eval calls paper
eval_paper(std::string(argv[2]), std::string(argv[3]), atoi(argv[4]));
Expand All @@ -211,7 +212,7 @@ int main(int argc, char *argv[]) {
std::cerr << "*.smap file" << std::endl;
std::cerr << "output file" << std::endl;
}
break;
break;*/
default:
break;
}
Expand All @@ -230,7 +231,7 @@ int main(int argc, char *argv[]) {
std::cerr << "11: Convert SV calls from Assemblytics" << std::endl;
std::cerr << "12: Summarize MQ 0 coverage to bed file" << std::endl;
std::cerr << "13: Summarize SVs events in VCF file" << std::endl;
std::cerr << "14: Combine calls from different vcf files" << std::endl;
// std::cerr << "14: Combine calls from different vcf files" << std::endl;
}
return 0;
}
Loading

0 comments on commit cf22614

Please sign in to comment.