error with running distruct.py in fastSTRUCTURE
0
0
Entering edit mode
7.4 years ago
Ana ▴ 200

Hi everyone,

I am trying to visualize the expected admixture proportions inferred by fastStructure by using python distruct.py This is the command that I am running:

python /global/software/faststructure/faststructure_20150319/distruct.py -K 5 --input=${GENO} --output=${OUT}

But I get this error message which I could not figure out what is wrong ...!

Traceback (most recent call last):

  File "/global/software/faststructure/faststructure_20150319/distruct.py", line 162, in <module>

    admixture, population_indices, population_labels = get_admixture_proportions(params)

  File "/global/software/faststructure/faststructure_20150319/distruct.py", line 60, in get_admixture_proportions

    handle = open('%s.%d.meanQ'%(params['inputfile'],params['K']),'r')

IOError: [Errno 2] No such file or directory: '/home/shsoudi/H_annuus_GWA_2016/faststructure/output_file_random1_10k_RUN2_distruct/random1_10K_genotype.5.meanQ'

Does anyone has any clue to help me out to figure out the solution and run it. I am quite stuck ... I have checked all of the directions and input files. Everything is OK. Any help is really appreciated

fastSTRUCTURE admixture proportions • 2.6k views
ADD COMMENT
0
Entering edit mode

are you sure that this file home/shsoudi/H_annuus_GWA_2016/faststructure/output_file_random1_10k_RUN2_distruct/random1_10K_genotype.5.meanQ
exists?

ADD REPLY
0
Entering edit mode

Yes, I am quite sure. I've checked many times;

4.0K -rw-r-----  1 shsoudi shsoudi  930 Aug 13 14:07 random1_10K_genotype.5.log
476K -rw-r-----  1 shsoudi shsoudi 474K Aug 13 14:07 random1_10K_genotype.5.meanP
 16K -rw-r-----  1 shsoudi shsoudi  16K Aug 13 14:07 random1_10K_genotype.5.meanQ
ADD REPLY
0
Entering edit mode

I'm having the exact same issue. Have you figured out why?

ADD REPLY

Login before adding your answer.

Traffic: 2421 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