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

Pileup Models for every dorado basecalling model #343

Open
Rohit-Satyam opened this issue Oct 28, 2024 · 5 comments
Open

Pileup Models for every dorado basecalling model #343

Rohit-Satyam opened this issue Oct 28, 2024 · 5 comments

Comments

@Rohit-Satyam
Copy link

Rohit-Satyam commented Oct 28, 2024

Dear Developers

In the readme section, you mention that ONT models can be used with Clair3. I downloaded one of these model [email protected] and gave it as input to Clair3. However, I get the following error

ONT-provided Models
ONT provides models for some latest or specific chemistries and basecallers (including both Guppy and Dorado) through [Rerio](https://github.com/nanoporetech/rerio). These models are tested and supported by the ONT developers.
 No pileup model found in provided model path and model prefix /home/satyamr/dorado-0.8.2-linux-x64/models/[email protected]/pileup �[0m

Should I use r1041_e82_400bps_sup_v420.tar.gz instead even the basecaller version is slightly different and the basecalling was run in fast mode ? Is there a way to convert the dorado models to pileup?

## Viral ONT samples
run_clair3.sh --bam_fn=p41530_barcode59_denv2.bam --ref_fn=reference.fasta \
--threads=20 --model_path=/home/satyamr/dorado-0.8.2-linux-x64/models/[email protected] \
--output=p41530_barcode59_clair3 --platform="ont" --haploid_precise --include_all_ctgs --no_phasing_for_fa --enable_long_indel
@Rohit-Satyam
Copy link
Author

Also, I think you should also add SISPA to the README file since it also gives extremely high coverage and therefore people should use --var_pct_full --ref_pct_full 1 right?

@aquaskyline
Copy link
Member

The command looks correct. Could you please ls /home/satyamr/dorado-0.8.2-linux-x64/models/[email protected] and see what it shows?

@Rohit-Satyam
Copy link
Author

@aquaskyline

Apologies as I was away on medical leave.
Here are the contents of the directory as you requested

ls /home/satyamr/dorado-0.8.2-linux-x64/models/[email protected]
0.conv.bias.tensor    1.conv.weight.tensor  4.rnn.bias_hh_l0.tensor    4.rnn.weight_ih_l0.tensor  5.rnn.weight_hh_l0.tensor  6.rnn.bias_ih_l0.tensor    7.rnn.bias_hh_l0.tensor    7.rnn.weight_ih_l0.tensor  8.rnn.weight_hh_l0.tensor  config.toml
0.conv.weight.tensor  2.conv.bias.tensor    4.rnn.bias_ih_l0.tensor    5.rnn.bias_hh_l0.tensor    5.rnn.weight_ih_l0.tensor  6.rnn.weight_hh_l0.tensor  7.rnn.bias_ih_l0.tensor    8.rnn.bias_hh_l0.tensor    8.rnn.weight_ih_l0.tensor
1.conv.bias.tensor    2.conv.weight.tensor  4.rnn.weight_hh_l0.tensor  5.rnn.bias_ih_l0.tensor    6.rnn.bias_hh_l0.tensor    6.rnn.weight_ih_l0.tensor  7.rnn.weight_hh_l0.tensor  8.rnn.bias_ih_l0.tensor    9.linear.weight.tensor

@aquaskyline
Copy link
Member

The folder contains a dorado model, not a Clair3 model.

@Rohit-Satyam
Copy link
Author

Yeah. That was the question. Is there a way to have clair3 models in "hac" and "fast" mode too, or should we use the "sup" mode model on the fasta files produced in "fast" base calling mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants