Giter VIP home page Giter VIP logo

Comments (19)

chrishendra93 avatar chrishendra93 commented on July 29, 2024

Hi @baibing7713661 , the assertion is there to make sure that at each position only 1 kind of 5-mer motif is present. Did you run this on genome mapped reads? Alternatively you can map the reads to transcriptome and run eventalign on the transcriptome level as well

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

Hi Chris, this is mapped on the transcriptome. I did not map on the genome since I want to map the m6A on mRNA. Please let me know what I can do, I have tested different samples and seems all get stuck here.

from m6anet.

chrishendra93 avatar chrishendra93 commented on July 29, 2024

are these arabidopsis samples taken from parker et al? I have actually tried running m6anet on those samples. Can you show me the first few rows of your nanopolish eventalign.txt? Did you run nanopolish with the option --scale-events and --signal_index?

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

Yes, they are from Paker et al. I want to see if all m6a signal can be detected without using knock-out control. Please see the eventaign.txt headlines below. I used the --scale-events but not signal_index (see below the script to generate eventalign.txt).

nanopolish eventalign
--reads /binf-isilon/PBgrp/jfb841/nanopore/data_extract/20180301_1825_20180301_FAH54216_VIRcomp_2928_DRS/basecalled_data/virComp_1.fastq
--bam reads-ref.sorted.virComp_1.bam
--genome /binf-isilon/PBgrp/jfb841/ECT2_HyperTribe_Germination/X204SC21080124_Z01_F001/raw_data/data_merged/ECT2_Germination/hyperTRIBE_carsten/RNAeditR_extra-master/annotations/Araport11_201606.fasta
--scale-events > reads-ref.eventalignvirComp_1.txt

image

from m6anet.

chrishendra93 avatar chrishendra93 commented on July 29, 2024

ah I see, that's the reason for the error. m6Anet requires --signal_index parameter when you run nanopolish because it will then tell m6anet-dataprep the signal length of each event which is then used to compute weighted average of the features per interval. I think you need to rerun nanopolish with the --scale-events and --signal_index parameter. I will make sure to include additional check on the nanopolish eventalign output in the next version to check for the presence of these columns

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

I used --scale-events and --signal_index and re-run the eventalign with output below. However this assertionError still keeps and it stucks. Please let me know anything else could be still tried?
Also good to know since you have tried Paker's data if m6A could be mapped w/o control samples.

image
image

from m6anet.

chrishendra93 avatar chrishendra93 commented on July 29, 2024

Do you mind sending me the eventalign.txt file? I am guessing this is from the smaller replicate? Based on my experience it can still capture m6a sites without the control

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

Sure, can you please give me your email for sending the files?
And did you compare with and without control to see the difference?

from m6anet.

chrishendra93 avatar chrishendra93 commented on July 29, 2024

[email protected]. I did run the predictions on the control as well and they are different, at least fewer sites detected on the control and these sites do not have significant p value in the g test tables in parker et al

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

Dropbox link sent. please let me know what comes out.

from m6anet.

chrishendra93 avatar chrishendra93 commented on July 29, 2024

Yeah I received it, but I do not have enough space in my dropbox to accept it. Do you think you can share a google drive link instead?

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

Yes, google drive link sent.

from m6anet.

chrishendra93 avatar chrishendra93 commented on July 29, 2024

hi @baibing7713661, I managed to run m6anet-dataprep on the data that you sent me. I think you can try re-running it again, making sure that the eventalign.txt is the correct one. Otherwise if it is still not working for you can also clone the branch release_1.2 (I have not fully tested it, but it should be working), run python setup.py install and run m6anet-dataprep from there

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

Hi Chris, can you paste your script used for m6anet-dataprep for me? I tried both versions and seems still stuck at the same step. I want to see if there is something different in the script.

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

image
image
Same as before, it could generate some output files but gets stuck in the same step.

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

also, how can I check the current version used to run is 1.2 rather then 1.0 since I updated the m6anet_1.2 in different directories (/binf-isilon/PBgrp/jfb841/software_scratch/programs/m6anet_1.2/m6anet) and update in "source ~/.bashrc". But I am not sure the current running version is 1.2 since it still uses dataprep.py under python3.8/site-packages/scripts/ seen from last line of script.

from m6anet.

chrishendra93 avatar chrishendra93 commented on July 29, 2024

the command that I used was m6anet-dataprep --eventalign reads-ref.eventalign.vir1_1.txt --output_dir . --n_processes 40. I will recommend that you create a separate conda environment / virtual environment before running python setup.py install? It might be that the installation clashes?

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

Hi Chris, I manage to run after update to 1.2. I forward you the output by email. Can you have a look?

Cheers, Bing

from m6anet.

baibing7713661 avatar baibing7713661 commented on July 29, 2024

I just realize the other method you have co-authored https://github.com/GoekeLab/xpore for direct RNA modification. Any difference from m6anet for m6A detection? Did you benchmark the two methods to see which one works better?

Cheers, Bing

from m6anet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.