vezzi / FRC_align

Computes FRC from SAM/BAM file and not from afg files
Other
18 stars 9 forks source link

Features.gff doesn't have a prefix attached #3

Closed jvhaarst closed 11 years ago

jvhaarst commented 11 years ago

The Features.gff file doesn't get a prefix like the other output files do. This makes it harder to run multiple runs in the same directory. Patch:

diff --git a/src/FRC_align.cpp b/src/FRC_align.cpp
index 1a32ae8..d5a2d83 100644
--- a/src/FRC_align.cpp
+++ b/src/FRC_align.cpp
@@ -648,7 +648,7 @@ int main(int argc, char *argv[]) {

     ofstream GFF3_features;
-    string GFF3 = "Features.gff";
+    string GFF3 = header + "Features.gff";
     GFF3_features.open(GFF3.c_str());

     GFF3_features << "##gff-version   3\n";
vezzi commented 11 years ago

Fixed, Thanks a lot.