gagneurlab / MMSplice_MTSplice

Tissue-specific variant effect predictions on splicing
MIT License
39 stars 21 forks source link

mmsplice couldn't output separate score of each kind of splice type #13

Closed zofieLin closed 5 years ago

zofieLin commented 5 years ago

Description

I use the mmsplice to do the prediction of splice variants, however, the output only contain 3 scores, that is "mmsplice_pathogenicity" "mmsplice_dse" and "mmsplice_dlogitPsi". I wonder if it can output the scores like "mmsplice_alt_acceptorIntron,mmsplice_alt_acceptor,mmsplice_alt_exon,mmsplice_alt_donor,mmsplice_alt_donorIntron" and so on.

What I Did

My prediction script is this: predictions = predict_all_table(model, dl, batch_size=1024, split_seq=False, assembly=True, pathogenicity=True, splicing_efficiency=True, progress=True) predictions.to_csv(out_csv)

My output is like this: ID,mmsplice_dlogitPsi,exons,mmsplice_pathogenicity,mmsplice_dse 0,17:41197805:ACATCTGCC:['A'],0.04854488531130818,17_41197646_41197819:-,0.9425130312488815,-0.003766304501151105

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
MuhammedHasan commented 5 years ago

Hi @qf-Lin,

If you do not want to assemble modular score as a single score, you need to specify the argument assembly=False of predict_all_table. Then you will get each individual modular scores of MMSplice modules.

zofieLin commented 5 years ago

Hi @MuhammedHasan,

Thank you so much for your prompt response. Probably I misunderstand the function of "assembly". It is fine now, but, it is assembly=False and pathogenicity=True can't be process in the same time? When using assembly=False , I can't get the result of "mmsplice_pathogenicity".

Thank you.