diff --git a/Bitmapper_main.cpp b/Bitmapper_main.cpp index 0576843..7d7f328 100644 --- a/Bitmapper_main.cpp +++ b/Bitmapper_main.cpp @@ -339,13 +339,25 @@ int main(int argc, char *argv[]) fprintf(stderr, "genome_cuts: %d\n", genome_cuts); fprintf(stderr, "PE_distance: %d\n", maxDistance_pair); - init_output_methy(Read_File1, need_context); + + + char outputFileName[NAME_LENGTH]; + if(Mapped_File) + { + sprintf(outputFileName, "%s%s",Mapped_FilePath , Mapped_File); + } + else + { + sprintf(outputFileName, "output"); + } + ///init_output_methy(Read_File1, need_context); + init_output_methy(outputFileName, need_context); Prepare_methy(fileName[0], chhy_ih_refGenName, refChromeCont); - + THREAD_COUNT = 1; ///int PE_distance = 500; if (!is_pairedEnd) diff --git a/README.md b/README.md index 05649f5..d36350b 100644 --- a/README.md +++ b/README.md @@ -226,6 +226,10 @@ The output file of BitMapperBS must be first sorted into a coordinate-sorted BAM ### Changelog ### +(16) September 9, 2019: version 1.0.2.2 released. + + >> Revise the output option of methylation extraction. + (16) August 24, 2019: version 1.0.2.1 released. >> Fix the bug in version 1.0.2.0. diff --git a/Schema.cpp b/Schema.cpp index f15e083..18d834b 100644 --- a/Schema.cpp +++ b/Schema.cpp @@ -81,7 +81,7 @@ int8_t mat_diff[25] = { _rg_name_l *_ih_refGenName; int refChromeCont; -char *versionN = "1.0.2.1"; +char *versionN = "1.0.2.2"; long long mappingCnt[MAX_Thread]; unsigned int done; long long mappedSeqCnt[MAX_Thread];