Skip to content

Commit

Permalink
bump to v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
angelovangel committed Dec 4, 2021
1 parent 25dd0c5 commit f8515e2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fastkmers"
version = "0.1.1"
version = "0.1.2"
authors = ["Angel Angelov <aangeloo@gmail.com>"]
repository = "https://github.com/angelovangel/fastkmers"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fastkmers -k 4 -a -j file.fasta
fastkmers -k 5 -q "AATTG" file.fastq.gz

# query with regex is also supported
# this example would match k-mers whose last 4 bases are: not T| A | T or G | A
# this example would match all 5-mers whose last 4 bases are: not T| A | T or G | A
fastkmers -k 5 -q "[^T]A[T|G]A$" file.fastq.gz

```
Expand Down
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fn get_fastq_reader(path: &String) -> Box<dyn (::std::io::Read)> {

fn main() {
let matches = App::new("fastkmers")
.version("0.1.2")
.author("https://github.com/angelovangel")
.about("get k-mer counts and multiplicity frequency from a fastq file")

Expand Down Expand Up @@ -95,7 +96,7 @@ fn main() {
for result in reader.records(){
reads += 1;

let record = result.expect("Error");
let record = result.expect("Error reading records in file. Use '-a' if file is fasta");
let seq = record.seq();
let seq_str = str::from_utf8(seq).unwrap().to_string();
//println!("{:?}", seq);
Expand All @@ -113,7 +114,7 @@ fn main() {
for result in reader.records(){
reads += 1;

let record = result.expect("Error");
let record = result.expect("Error reading records in file. Use '-a' if file is fasta.");
let seq = record.seq();
let seq_str = str::from_utf8(seq).unwrap().to_string();
//println!("{:?}", seq);
Expand Down

0 comments on commit f8515e2

Please sign in to comment.