Skip to content
Snippets Groups Projects
Commit 468cbcec authored by Simon Penel's avatar Simon Penel
Browse files

Update version

parent 963d768f
No related branches found
No related tags found
No related merge requests found
[package]
name = "stats_on_gff3"
version = "0.1.15"
version = "0.1.16"
authors = ["Simon Penel <simon.penel@univ-lyon1.fr>"]
edition = "2021"
description ="Calculate statistics such as CDS GC3 ratio, intron GC ratio, flanking gene region GC ratio, first intron length, number of introns."
description ="Calculate statistics such as CDS GC3 ratio, intron GC ratio, flanking gene region GC ratio, first intron length, number of introns, CpG ratio, etc. See https://gitlab.in2p3.fr/penel/stats_on_gff3"
license="CECILL-2.1"
keywords=[ "gff3", "fasta", "bioinformatics"]
homepage = "https://gitlab.in2p3.fr/penel/stats_on_gff3"
......
......@@ -374,6 +374,7 @@ fn get_subseq_info (record : &gff::Record, sequence: &Vec<u8>) -> (u64,u64,stran
let start = record.start();
let end = record.end();
let mut subseq = Vec::new();
// gff start inclus -> end inclus => tableau start -1 inclus -> end -1 inclus => rust start - 1 .. end
for i in *start - 1 .. *end {
subseq.push(sequence[i as usize]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment