RaisD and the sfs_code2ms converter

已查看 90 次
跳至第一个未读帖子

demetris taliadoros

未读,
2021年3月19日 08:26:402021/3/19
收件人 OmegaPlus
Hi Niko, Pavlo, and community,

I am trying to assess the false positive rate for my dataset using SFS_CODE to simulate data with background selection, under the best demographic model that I have previously inferred.

I have used the tool "convertSFS_CODE" to convert the SFS_CODE output to ms format.
The problem is that when I am trying to run RaisD on the converted ms-format file I get the following error message:

RAiSD: sources/RAiSD.c:256: main: Assertion `(uint64_t)RSDDataset->setSNPs==RSDDataset->preLoadedsetSNPs' failed.
Aborted (core dumped)

I suspect that there is something wrong with the file. however, I couldn't identify the difference by comparing  it with files produced by ms. Maybe you have an idea about what might be causing this problem.

Best regards
Demetris

Nikolaos Alachiotis

未读,
2021年3月19日 10:30:292021/3/19
收件人 OmegaPlus
Hello Demetris,
Can you please send me the input file that is causing this error?
Which version are you using?
Best regards,
Nikos A.
> --
> You received this message because you are subscribed to the Google Groups "OmegaPlus" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to omegaplus+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/omegaplus/70bf8aa4-9d93-4bed-b6a1-32e237770176n%40googlegroups.com.



--
Nikolaos Alachiotis

demetris taliadoros

未读,
2021年3月19日 12:48:342021/3/19
收件人 OmegaPlus
Hi Nikos,

Thank you for helping.
I am using RaisD v. 2.8.
I was not subscribed to the group and it would not let me upload my file. Please find a test simulated dataset in this dropbox link: https://www.dropbox.com/sh/csddbawnbx87k3g/AAA1J3trt2TcEs7yAdYuzWKZa?dl=0
However, I think that after this message this issue will be resolved and I will be able to upload the file here as well.

Best regards
Demetris

demetris taliadoros

未读,
2021年3月19日 12:52:482021/3/19
收件人 omeg...@googlegroups.com
Hi again! Now I am able to upload the test file here as well so maybe it is just more convenient to have it here.

Best regards
Demetris

You received this message because you are subscribed to a topic in the Google Groups "OmegaPlus" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omegaplus/ywUukpjijrU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omegaplus+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omegaplus/a094a276-9fa8-42ca-9f91-2b9c11a044e9n%40googlegroups.com.
test_sfs_code_ms.out

Nikolaos Alachiotis

未读,
2021年3月22日 07:41:262021/3/22
收件人 OmegaPlus
Hello Demetris,
It seems that there are monomorphic columns in your file, and this is
what is causing the assertion to fail.
RAiSD discards such sites in VCF and FASTA files but not in ms (I can
also implement this in the next version, but it is not going to be
very soon). Is it possible to generate your file without including
monomorphic files?
Best regards,
Nikos A.

On Fri, Mar 19, 2021 at 5:52 PM demetris taliadoros
> To view this discussion on the web visit https://groups.google.com/d/msgid/omegaplus/CALSjJV%3DREjQuihcW3MMffNOqc81kiPswmnyTTiqyx7shMBOu9A%40mail.gmail.com.



--
Nikolaos Alachiotis

demetris taliadoros

未读,
2021年3月22日 11:54:382021/3/22
收件人 OmegaPlus
Hello Nikos,

Thanks again. A quick solution I found now is to convert the SFS_CODE output to fasta format instead of ms. This can be easily done with the same "convertSFS_CODE" tool, provided with the sfs_code software!

Have a great week.
Best regards
Demetris

Mariia Selifanova

未读,
2022年5月7日 22:34:282022/5/7
收件人 OmegaPlus

Hello! 

I am getting the same error ( "RAiSD: sources/RAiSD.c:256: main: Assertion `(uint64_t)RSDDataset->setSNPs==RSDDataset->preLoadedsetSNPs' failed.") while trying to asses FPR with my data. My simulations were generated using Slim3 and I don't have monomorphic columns in my file (https://drive.google.com/file/d/1-fkTPCYBcnnou8-ws7Nx27Oseydq5el1/view?usp=sharing).  What could be the problem? Thank you! 

Best regards, 

Masha



понедельник, 22 марта 2021 г. в 19:54:38 UTC+4, demetris....@gmail.com:

Nikolaos Alachiotis

未读,
2022年5月9日 08:54:352022/5/9
收件人 omeg...@googlegroups.com
Hello Masha,
I checked your file and there are monomorphic columns. RAiSD assumes
that ms files do not contain monomorphic columns. You can remove this
check by removing lines 255 and 256 in RAiSD.c file and then
recompile.
Best regards,
Nikos A.
> To view this discussion on the web visit https://groups.google.com/d/msgid/omegaplus/aa9be487-f350-48e2-80ce-ad7b9951aedcn%40googlegroups.com.



--
Nikolaos Alachiotis
回复全部
回复作者
转发
0 个新帖子