Skip to content

Commit

Permalink
Updated header in merge
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzsedlazeck committed Jul 19, 2018
1 parent ee77925 commit 7c7731d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/merge_vcf/combine_svs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ void print_header(FILE *& file, std::vector<std::string> names, std::map<std::st
fprintf(file, "%s", "##INFO=<ID=IMPRECISE,Number=0,Type=Flag,Description=\"Imprecise structural variation\">\n");
fprintf(file, "%s", "##INFO=<ID=PRECISE,Number=0,Type=Flag,Description=\"Precise structural variation\">\n");
fprintf(file, "%s", "##INFO=<ID=AVGLEN,Number=1,Type=Float,Description=\"Length of the SV\">\n");
fprintf(file, "%s", "##INFO=<ID=SVMETHOD,Number=1,Type=String,Description=\"Vector of samples supporting the SV.\">\n");
fprintf(file, "%s", "##INFO=<ID=SVMETHOD,Number=1,Type=String,Description=\"Method for generating this merged VCF file.\">\n");
fprintf(file, "%s", "##INFO=<ID=SVTYPE,Number=1,Type=String,Description=\"Type of the SV.\">\n");
fprintf(file, "%s", "##INFO=<ID=SUPP_VEC,Number=1,Type=String,Description=\"Number of samples supporting the variant.\">\n");
fprintf(file, "%s", "##INFO=<ID=SUPP,Number=1,Type=String,Description=\"Previous support vector\">\n");
fprintf(file, "%s", "##INFO=<ID=SUPP_VEC,Number=1,Type=String,Description=\"Vector of supporting samples.\">\n");
fprintf(file, "%s", "##INFO=<ID=SUPP,Number=1,Type=String,Description=\"Number of samples supporting the variant\">\n");
fprintf(file, "%s", "##INFO=<ID=STRANDS,Number=1,Type=String,Description=\"Indicating the direction of the reads with respect to the type and breakpoint.\">\n");
fprintf(file, "%s", "##FORMAT=<ID=GT,Number=1,Type=String,Description=\"Genotype\">\n");
fprintf(file, "%s", "##FORMAT=<ID=LN,Number=1,Type=Integer,Description=\"predicted length\">\n");
Expand Down
2 changes: 1 addition & 1 deletion src/vcfs/Compoverlap_VCF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void print_header(std::string vcf_file, FILE *& out) {
std::ifstream myfile;
myfile.open(vcf_file.c_str(), std::ifstream::in);
if (!myfile.good()) {
std::cout << "BED Parser: could not open file: " << vcf_file.c_str() << std::endl;
std::cout << "VCF Parser: could not open file: " << vcf_file.c_str() << std::endl;
exit(0);
}
myfile.getline(buffer, buffer_size);
Expand Down

0 comments on commit 7c7731d

Please sign in to comment.