GoekeLab / m6anet

Detection of m6A from direct RNA-Seq data
https://m6anet.readthedocs.io/
MIT License
103 stars 19 forks source link

probability_modified column is empty #40

Closed BioinfoHub-PeiQinNg closed 2 years ago

BioinfoHub-PeiQinNg commented 2 years ago

Hi there,

I have tried running m6anet run-inference to predict m6A modifications on my nanopore data.

This was done based on the quick start tutorial https://m6anet.readthedocs.io/en/latest/quickstart.html

However, when I have a look at the output file, instead of indicating a 0 or a 1 as shown in the examples, mine turns out to be a blank column.

For your reference I have attached a snippet of my output file:

transcript_id, transcript_position, n_reads, probability_modified, kmer 2L, 74989, 31, ,TGACT 2L, 75008, 32, ,AAACT 2L, 75100, 33, ,TAACA 2L, 75106, 31, ,TGACT 2L, 75151, 35, ,AAACT

If you can provide me some guidance with this that will be great. Thank you!

Stakaitis commented 2 years ago

Your _nreads column is also empty which is probably the initial problem. Could you show the head of m6anet-dataprep outputs:

BioinfoHub-PeiQinNg commented 2 years ago

Hi there, Thank you for getting back to me.

These are what the few output head of m6anet-dataprep looks like

Thank you again for assisting me with this.

BioinfoHub-PeiQinNg commented 2 years ago

I have also provided the command lines that I have used for nanopore eventalign and m6a-dataprep for your reference:

nanopolish eventalign \ --reads {input.fasta} \ --bam {input.bam} \ --genome {input.ref} \ --scale-events > {SAMPLE}-ref.eventalign.txt

m6anet-dataprep --eventalign {input.txt} \ --out_dir {output} \

chrishendra93 commented 2 years ago

Thank you @Stakaitis for helping to respond. @BioinfoHub-PeiQinNg your nanopolish eventalign is missing --signal-index argument which tells m6Anet the segment length information

BioinfoHub-PeiQinNg commented 2 years ago

I see. I will give it another go. Thank you so much!

chrishendra93 commented 2 years ago

hi @BioinfoHub-PeiQinNg, how is it working with you? Are you able to get the results now?

BioinfoHub-PeiQinNg commented 2 years ago

Hi @chrishendra93 , sorry for the late reply. I manage to get it running now! Thank you so much for your help! Cheers ^^