Thomas преди 2 години
родител
ревизия
38298cbc91
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -319,7 +319,7 @@ impl Contig {
 
     pub fn write_bam(&self, path: &str) -> Result<()> {
         let mut header = bam::Header::new();
-        let mut sq_record = rust_htslib::bam::header::HeaderRecord::new(b"@SQ");
+        let mut sq_record = rust_htslib::bam::header::HeaderRecord::new(b"SQ");
         sq_record.push_tag(b"SN", self.id.clone());
         sq_record.push_tag(b"LN", self.sequence.len());
         header.push_record(&sq_record);