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

empty dataprep data.json and data.log #165

Open
nickst85 opened this issue May 21, 2024 · 5 comments
Open

empty dataprep data.json and data.log #165

nickst85 opened this issue May 21, 2024 · 5 comments

Comments

@nickst85
Copy link

Hi,

I am using the new RNA flowcells to call for m6a modification.
I used the f5c eventalign command to get the eventalign.tsv and used this file to run the dataprep.

The run finished without error, but the data.log and data.json are empty.

the eventalign.index looks like this:

transcript_id,read_index,pos_start,pos_end
ENST00000655252.1,213,172,183853
ENST00000655252.1,216,183853,274146
ENST00000655252.1,217,274146,381035
ENST00000655252.1,218,381035,461603
ENST00000655252.1,219,461603,493651
ENST00000424587.7,11125,493651,839165
ENST00000424587.7,11127,839165,987809
ENST00000424587.7,11129,987809,1249168
.
.
.

the data.info file has only the header : transcript_id,transcript_position,start,end,n_reads

Can you please help me?

Thank you in advance,

Nick

@yuukiiwa
Copy link
Collaborator

yuukiiwa commented Jun 4, 2024

Hi Nick (tagging you here @nickst85),

Sorry for the delayed reply (was out of town and will be on vacation)!

Do you mind showing my the first ten lines of your eventalign file head eventalign.txt please?

Thanks!

Best wishes,
Yuk Kei

@nickst85
Copy link
Author

nickst85 commented Jun 5, 2024 via email

@yuukiiwa
Copy link
Collaborator

yuukiiwa commented Jun 5, 2024

Hi Nick (@nickst85),

You will have to change the reference_kmer and the model_kmer columns from 9mers to 5mers:

GATAAGGAT --> TAAGG
ATAAGGATT --> AAGGA

I will update m6anet this month for converting 9mer to 5mer within.

Thanks!

Best wishes,
Yuk Kei

@nickst85
Copy link
Author

nickst85 commented Jun 6, 2024 via email

@yuukiiwa
Copy link
Collaborator

Hi Nick (tagging you here @nickst85),

Sorry for the delayed reply! You can use the code below (not tested):

file=open('eventalign.txt', 'r') ##change eventalign.txt to the name of the eventalign file accordingly if needed
outfile=open('5mer_eventalign.txt','w')
outfile.write(file.readline())
for ln in file:
    ln=ln.strip().split('\t')
    outfile.write('\t'.join(ln[:2]+[ln[2][2:7]]+ln[3:])+'\n')
outfile.close()

Thanks!

Best wishes,
Yuk Kei

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