DiscoSNP-RAD: using 1SNP_by_cluster.py
1
0
Entering edit mode
6.1 years ago
jomare1188 ▴ 10

Hello i'm trying DiscoSnp++ and succesfully ran run_discoSnpRad.sh and discoRAD_finalization.sh. Since i'll use Structure i only need one SNP per locus, but it seems 1SNP_by_cluster.py doesn't ran with filter_paralogs.py called by discoRAD_finalization.sh (as explain in the header of 1SNP_by_cluster.py) wrapper, so i tried to run 1SNP_by_cluster.py manually but it filters out all the SNPs as follows

python3 1SNP_by_cluster.py discoRad_MslI_k_31_c_20_D_10_P_5_m_0_coherent_sorted_with_clusters.vcf
nb SNP before : 158261
nb SNP after  : 0

How can i make sure discoRAD_finalization.sh ran filter_paralogs.py and 1SNP_by_cluster.py ? how can i run 1SNP_by_cluster.py manually?

DiscoSNP-RAD Structure • 1.3k views
ADD COMMENT
0
Entering edit mode

I am also having this same problem. Please let me know if you find a solution to this issue. Thank you in advance!

Sincerely, Gio

ADD REPLY
2
Entering edit mode
6.0 years ago
jomare1188 ▴ 10

i solved this problem, i don't know really what it was but...

*i configured run_discoSnpRad.sh to run the full pipe line without call explicitly discoRAD_finalization.sh

it seems the variants didn't clusterize properly (only one cluster called cluser_-1_size_1 in .vcf) and so 1SNP_by_cluster.py could't work

ADD COMMENT

Login before adding your answer.

Traffic: 2140 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6