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

repeatSubMatrix_setLogProb #16

Open
nkono opened this issue Jan 10, 2022 · 3 comments
Open

repeatSubMatrix_setLogProb #16

nkono opened this issue Jan 10, 2022 · 3 comments

Comments

@nkono
Copy link

nkono commented Jan 10, 2022

Hi,

During the execution, it goes up to 4%, but then stops with the following message.
Command:
$ marginPolish minimap2.sorted.bam asm.fasta ./params/allParams.np.json -o output -t 32

Message:
[repeatSubMatrix_setLogProb] base 'Nn' not supported for repeat estimation

The draft genome is in multi-fasta format and does not contain any characters other than ATGC.
Is there any solution to this problem?

Thank you.

@tpesout
Copy link
Collaborator

tpesout commented Jan 11, 2022

Hi nkono, this repository is largely unmaintained but when I have some time I will try to take a look at your issue. Can you give me a brief description of what you're trying to do? It will also be helpful if you can run this again with the following command and upload the resulting log file:
marginPolish minimap2.sorted.bam asm.fasta ./params/allParams.np.json -o output -t 32 -a info 2>&1 | tee output.log

@nkono
Copy link
Author

nkono commented Jan 11, 2022

I created a bam file with long-read mapped to asm.fasta, and sorted/indexed (minimap2.sorted.bam)
Using this minimap2.sorted.bam file, I would like to polish the asm.fasta.
output.log

@tpesout
Copy link
Collaborator

tpesout commented Jan 26, 2022

Thanks @nkono, if there are reads which have non-standard characters then that might cause this problem also. Can you try these two commands to verify that all your data is composed of ACGTacgt?

cat asm.fasta | grep -v "^>" | grep -e "[^ACTGactg]"
cat minimap2.sorted.bam  | cut -f10 | grep -e "[^ACTGactg]"

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