}
}
- my_assert(find_gene_id, line, "Cannot find gene_id!");
- my_assert(find_transcript_id, line, "Cannot find transcript_id!");
+ my_assert(feature != "exon" || find_gene_id, line, "Cannot find gene_id!");
+ my_assert(feature != "exon" || find_transcript_id, line, "Cannot find transcript_id!");
+ if (!find_gene_id && feature != "exon") { printf("Warning: line \" %s \" does not contain a gene_id attribute! Since this line will not be used for reference construction, it is skipped. But if you think this GTF file is corrupted, you should find a complelete GTF file instead and rebuild the reference.\n", line.c_str()); }
+ if (!find_transcript_id && feature != "exon") { printf("Warning: line \" %s \" does not contain a transcript_id attribute! Since this line will not be used for reference construction, it is skipped. But if you think this GTF file is corrupted, you should find a complelete GTF file instead and rebuild the reference.\n", line.c_str()); }
}
std::string getSeqName() { return seqname; }
+RSEM v1.2.13
+
+- Changed the behavior of parsing GTF file. Now if a GTF line's feature is not "exon" and it does not contain a "gene_id" or "transcript_id" attribute, only a warning message will be produced (instead of failing the RSEM)
+
+--------------------------------------------------------------------------------------------
+
RSEM v1.2.12
- Enabled allele-specific expression estimation
size_t len = suffix.length();
for (size_t i = 0; i < len; i++) suffix[i] = tolower(suffix[i]);
- general_assert(suffix == "sam" || suffix == "bam", "Cannot recognize input file's file type! The file suffix is neither sam or bam.");
+ general_assert(suffix == "sam" || suffix == "bam", "Cannot recognize input file's file type! The file suffix is neither sam nor bam.");
in = (suffix == "sam" ? samopen(argv[1], "r", NULL) : samopen(argv[1], "rb", NULL));
general_assert(in != 0, "Cannot open input file!");
int main(int argc, char* argv[]) {
if (argc != 3) {
- printf("UsaOAge: rsem-scan-for-paired-end-reads input.sam output.bam\n");
+ printf("Usage: rsem-scan-for-paired-end-reads input.sam output.bam\n");
exit(-1);
}