Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during installation #180

Closed
molecule53 opened this issue May 6, 2024 · 7 comments
Closed

Error during installation #180

molecule53 opened this issue May 6, 2024 · 7 comments
Labels
question Looking for clarification on inputs and/or outputs

Comments

@molecule53
Copy link

Hello,

I run:
git clone https://github.com/nanoporetech/modkit.git
cd modkit

After, I am running
cargo install --path .
but I am getting the error bellow:

running cd "/Data1/modkit/target/release/build/openssl-sys-fc6a0e7de0c255d6/out/openssl-build/build/src" && "make" "depend"

--- stderr
thread 'main' panicked at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-src-300.2.3+3.2.1/src/lib.rs:611:9:

Error building OpenSSL dependencies:
Command: cd "/Data1/modkit/target/release/build/openssl-sys-fc6a0e7de0c255d6/out/openssl-build/build/src" && "make" "depend"
Failed to execute: No such file or directory (os error 2)

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile mod_kit v0.2.8 (/Data1/modkit), intermediate artifacts can be found at /Data1/modkit/target.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

Thank you!

@ArtRand
Copy link
Contributor

ArtRand commented May 6, 2024

Hello @molecule53,

Could you tell me about the operating system and environment you're installing into? It looks like Open SSL is failing to build. From the error, it looks like your system doesn't have make, could you check if that's the case? The dependencies of modkit require CMAKE as well, so you might want to install that once you have a chance.

@ArtRand ArtRand added the troubleshooting workflow and data preparation questions label May 6, 2024
@molecule53
Copy link
Author

molecule53 commented May 10, 2024 via email

@ArtRand
Copy link
Contributor

ArtRand commented May 10, 2024

Hello @molecule53

If you performed basecalling and modification calling with a 6mA and 5mC model (sounds like you did) then you'll get a base modification call at all Cs and As in each read. What can happen is, if a read has a C-to-A alignment mismatch you'll still get a 6mA canonical/modified call at that site (even though it's a reference C). It's usually clear this is the case because the valid coverage will be much lower than the median for the run. If you only care about 5mC, you can filter out the records with a in the mod-code column.

If you want to look at CpG, CHH, and CHG, you can use the --motif option, the documentation is on github.

@ArtRand ArtRand added question Looking for clarification on inputs and/or outputs and removed troubleshooting workflow and data preparation questions labels May 10, 2024
@molecule53
Copy link
Author

molecule53 commented May 14, 2024 via email

@ArtRand
Copy link
Contributor

ArtRand commented May 20, 2024

Hello @molecule53,

Sorry for the slow reply. You can use --motif CHH 0 --motif CHG 0 the parser in modkit understands iupac codes.

@molecule53
Copy link
Author

molecule53 commented May 21, 2024 via email

@ArtRand
Copy link
Contributor

ArtRand commented May 21, 2024

Great, let me know if you have any more questions.

@ArtRand ArtRand closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Looking for clarification on inputs and/or outputs
Projects
None yet
Development

No branches or pull requests

2 participants