Thomas 3 rokov pred
rodič
commit
f4dfb55515
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -585,7 +585,7 @@ impl Fasta {
         Fasta { fa: IndexedFasta::from_file(path).expect("Error opening fa") }
     }
     fn get_sequence (&self, contig: &str, start: usize, end: usize) -> String { // end is included
-        let start = start - 1;
+        // let start = start - 1;
         let end = end - 1;
         let chr_index = self.fa.fai().tid(contig).expect("Cannot find chr in index");
         if (end as i64 - start as i64) < (0 as i64) {