Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
rustflags = ["-C", "target-cpu=native"]
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Generated by Cargo
# will have compiled files and executables
debug/
target/

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# Generated by cargo mutants
# Contains mutation testing data
**/mutants.out*/
177 changes: 168 additions & 9 deletions Cargo.lock

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

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
rustflags = ["-Ctarget-cpu=native"]

[package]
name = "isONclust3"
version = "0.3.0"
edition = "2021"
repository = "https://github.com/aljpetri/isONclust3"
license="MIT"
license = "MIT"
description = "Rust implementation of a novel de novo clustering algorithm. isONclust3 is a tool for clustering either PacBio Iso-Seq reads, or Oxford Nanopore reads into clusters, where each cluster represents all reads that came from a gene family. Output is a tsv file with each read assigned to a cluster-ID and a folder 'fastq' containing one fastq file per cluster generated. Detailed information is available in the isONclust3 paper."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bio = "1"
bio-seq = "0.10.0"
clap = { version = "4.4.3", features = ["derive","cargo"] }
clap = { version = "4.4.3", features = ["derive", "cargo"] }
clap-cargo = "0.12.0"
rayon = "1.7"
memory-stats = "1.0.0"
rustc-hash = "1.1.0"
minimizer-iter = "1.2.1"
nohash-hasher = "0.2.0"
log = "0.4.27"
simple_logger = "5.0.0"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ cargo build --release
The executable is then located in folder `target/release`.

### Testing the installation <a name="installation"></a>
Run `target/release/isONclust3 --fastq Example_data/test_data.fastq --mode ont --outfolder Example_out --seeding minimizer --post-cluster`.
Run `target/release/isONclust3 --fastq example_data/test_data.fastq --mode ont --outfolder example_out --seeding minimizer --post-cluster`.

This generates an output directory in the repository folder. The fastq_files folder inside clustering should now contain 94 fastq files(each representing one cluster).
This generates an output directory in the repository folder. The fastq_files folder inside clustering should now contain 94 fastq files(each representing one cluster).

# Running isONclust3 <a name="Running"></a>
IsONclust3 can be used on either Pacbio data or ONT data.
IsONclust3 can be used on either Pacbio data or ONT data.

```
isONclust3 --fastq {input.fastq} --mode ont --outfolder {outfolder} # Oxford Nanopore reads
Expand Down
File renamed without changes.
Loading