]> git.donarmstrong.com Git - rsem.git/blobdiff - extractRef.cpp
add feature that jump lines with # in gtf
[rsem.git] / extractRef.cpp
index c4f24a9a079b37a25d39d6fa969ff9ac1482f3de..12b3222744db41cf1602890b9ae0fccfd2dfedca 100644 (file)
@@ -113,6 +113,7 @@ void parse_gtf_file(char* gtfF) {
 
        items.clear();
        while (getline(fin, line)) {
+               if (line[0] == '#') continue; // if this line is comment, jump it
                item.parse(line);
                string feature = item.getFeature();
                if (feature == "exon") {