Commit 7a8bae01 authored by Romain Feron's avatar Romain Feron
Browse files

Added header for depth output file

parent a0272060
......@@ -40,7 +40,8 @@ SOURCES += main.cpp \
include/bwa/QSufSort.c \
include/bwa/rle.c \
include/bwa/rope.c \
include/bwa/utils.c
include/bwa/utils.c \
src/depth.cpp
HEADERS += \
include/bwa/bntseq.h \
......@@ -80,4 +81,5 @@ HEADERS += \
src/significant_sequences.h \
src/stats.h \
src/subset.h \
src/utils.h
src/utils.h \
src/depth.h
......@@ -79,6 +79,8 @@ void depth(Parameters& parameters) {
if (output_file.is_open()) {
output_file << "Individual\tSex\tMarkers\n";
for (auto i: individual_depths) {
output_file << i.first << "\t";
(popmap[i.first]) ? output_file << "M" : output_file << "F";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment