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

Failed to read fasta index (error 2) #319

Open
ramnageena11 opened this issue Dec 20, 2024 · 1 comment
Open

Failed to read fasta index (error 2) #319

ramnageena11 opened this issue Dec 20, 2024 · 1 comment
Labels
troubleshooting workflow and data preparation questions

Comments

@ramnageena11
Copy link

Pls look into this error and suggest how to resolve it?
Here:

  1. I have indexed .bam (from dorado) and then converted to fasta (reads).
  2. reference: assembled (genome: NCBI) or assembly from same long reads (using for modification analysis).

modkit pileup -t 4 --cpg --ref /home/Documents/......../genome_assemblies/bc01/ /home/Documents/demux-pod5/EXP-NBD104_barcode01.bam bc01.bed

calculated chunk size: 6, interval size 100000, processing 600000 positions concurrently
filtering to only CpG motifs
Error! Failed to read fasta index from "/home/Documents/genome_assemblies/bc01/.fai"
caused by No such file or directory (os error 2)

@ArtRand
Copy link
Contributor

ArtRand commented Dec 21, 2024

Hello @ramnageena11,

Could you try passing a path to the FASTA-formatted file containing the reference sequence? Something like /home/Documents/genome_assemblies/bc01/ref.fa, there needs to be an index as well such as /home/Documents/genome_assemblies/bc01/ref.fa.fai.

@ArtRand ArtRand added the troubleshooting workflow and data preparation questions label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
troubleshooting workflow and data preparation questions
Projects
None yet
Development

No branches or pull requests

2 participants