Comments (19)
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.
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.
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.
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
from m6anet.
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.
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.
from m6anet.
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.
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.
[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.
Dropbox link sent. please let me know what comes out.
from m6anet.
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.
Yes, google drive link sent.
from m6anet.
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.
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.
Same as before, it could generate some output files but gets stuck in the same step.
from m6anet.
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.
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.
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.
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)
- Question about the PCA in the paper
- Memory usage exploding HOT 3
- Empty Eventalign.txt for Negative Sense Viral RNA HOT 1
- dataprep and data.log HOT 8
- Questions about the m6A motif HOT 1
- Genome vs transcriptome alignment HOT 4
- m6anet, eventalign, galaxy HOT 3
- error with m6anet dataprep HOT 1
- yet another error with m6anet dataprep HOT 1
- running with test eventalign test file file form github produces another error HOT 8
- installation on linux failed HOT 3
- TypeError: argument should be integer or None, not 'numpy.float64' HOT 2
- Interpreting 'inference' results HOT 1
- m6anet dataprep fails to complete: cannot convert float NaN to integer HOT 3
- Issues with Read Selection HOT 2
- The position output by m6anet seems to be 1 less than the actual position HOT 1
- empty dataprep data.json and data.log HOT 5
- Arabidopsis VIRC instead of col0 (wild type) HOT 3
- probability_modified and mod_ratio are 0 HOT 2
- f5c or nanopolish HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m6anet.