-
Notifications
You must be signed in to change notification settings - Fork 6
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
Comments
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 |
Hello and Thank you!
Installing CMAKE helped!
I was able to run modkit.
I have a couple of questions:
1.
I run /home/ubuntu/.cargo/bin/modkit pileup /Data1/dorado_output.sorted.bam /Data1/dorado_modkit_pileup_CpG.bed --cpg --ref /Data1/genome_reference.fasta --ignore h --combine-strands
In the 4th column of the .bed file I got not only modification code m but also modification code a. Is it something expected or am I missing something? I am interested in mC.
2) Is there any way to look at mC in CHH and CHG (H is anybase but G)?
Thank you!
…________________________________
From: Arthur Rand ***@***.***>
Sent: Monday, May 6, 2024 2:58 PM
To: nanoporetech/modkit ***@***.***>
Cc: McKinlay, Anastasia ***@***.***>; Mention ***@***.***>
Subject: [External] Re: [nanoporetech/modkit] Error during installation (Issue #180)
This message was sent from a non-IU address. Please exercise caution when clicking links or opening attachments from external sources.
Hello @molecule53<https://github.com/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.
—
Reply to this email directly, view it on GitHub<#180 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A6WBDROGAYE5MJFELCHOMULZA7HG7AVCNFSM6AAAAABHJQ434OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWG4YDIMZQGI>.
You are receiving this because you were mentioned.
|
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 If you want to look at CpG, CHH, and CHG, you can use the |
Hello,
Thank you!
I did see --motif option. I am not sure if can I look at CHH or CHG using one line of code (H can be either A, T, or C). Any suggestions?
Best,
Anastasia
…________________________________
From: Arthur Rand ***@***.***>
Sent: Friday, May 10, 2024 6:06 PM
To: nanoporetech/modkit ***@***.***>
Cc: McKinlay, Anastasia ***@***.***>; Mention ***@***.***>
Subject: [External] Re: [nanoporetech/modkit] Error during installation (Issue #180)
This message was sent from a non-IU address. Please exercise caution when clicking links or opening attachments from external sources.
Hello @molecule53<https://github.com/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<https://nanoporetech.github.io/modkit/intro_bedmethyl.html#narrowing-output-to-specific-motifs> is on github.
—
Reply to this email directly, view it on GitHub<#180 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A6WBDRMCSG6UXG3HNYABXWLZBVAHNAVCNFSM6AAAAABHJQ434OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBVGMZDKMRUGE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello @molecule53, Sorry for the slow reply. You can use |
Thank you!
…________________________________
From: Arthur Rand ***@***.***>
Sent: Monday, May 20, 2024 11:22 AM
To: nanoporetech/modkit ***@***.***>
Cc: McKinlay, Anastasia ***@***.***>; Mention ***@***.***>
Subject: [External] Re: [nanoporetech/modkit] Error during installation (Issue #180)
This message was sent from a non-IU address. Please exercise caution when clicking links or opening attachments from external sources.
Hello @molecule53<https://github.com/molecule53>,
Sorry for the slow reply. You can use --motif CHH 0 --motif CHG 0 the parser in modkit understands iupac<https://www.bioinformatics.org/sms/iupac.html> codes.
—
Reply to this email directly, view it on GitHub<#180 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A6WBDRKNXGWJVJTDAHTUBVDZDIINHAVCNFSM6AAAAABHJQ434OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRQGY4DAMBVHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Great, let me know if you have any more questions. |
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 backtracewarning: 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!
The text was updated successfully, but these errors were encountered: