You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Issac,
I am relatively new to easySFS and SFSs in general! I am attempting to create numerous multidimesional SFSs from 18 different VCF files, all containing 4 different populations. The aim of this is to complete demographic inferences using fastsimcoal2, with the hope of identifying a divergence time between the populations. After completing the first conversion step from VCF to SFS for all 18 files,
I successfully get an output with number of samples and number of segregating sites for each. However, when attempting to run the script using chosen projection values for any individual VCF, I receive the following message:
Output directory exists. Use -f to override.
When opening the output directory and moving into the 'fastsimcoal2' directory, I only have joint SFS's for each of the populations - no multiSFS. Further, I have completed the SFS for all individual VCF files, however only the first file I converted is shown to have a completed SFS.
The contents of 'fastsimcoal2' are:
'VCF3'_jointMAFpop1_0.obs, 'VCF3'_jointMAFpop2_0.obs, 'VCF3'_jointMAFpop2_1.obs,
'VCF3'_jointMAFpop3_0.obs, 'VCF3'_jointMAFpop3_2.obs, pop3_MAFpop0.obs,
pop2_MAFpop0.obs, pop1_MAFpop0.obs
I was expecting there to be a 'prefix_MSFS.obs' file in that directory, any ideas on why this is not be created? I also am questioning why only one of the VCF files has had SFS's made, given I have attempted to run the command using projection values on numerous files and still get the same message as stated above. Is it per chance, that each individual VCF have to be converted in a different conda environment?
I would be extremely grateful for any advice/help you may have towards these issues!
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Well the output files question has a simple explanation: by default easySFS writes to output files to a directory called 'outputs'. If you use the -f flag this overwrites the files in this directory, so if you run it 18 times with the -f flag you will only see the output files of the most recent run. If you want each set of SFS to go to a different directory you need to give each easySFS run a different -o flag, like this:
As for the MSFS file, i'm not sure. Are you using the most recent version of the code? I made a bunch of changes the past week, so if you can check out the code and try again that would help. Also, if you can run easySFS with -v and show the full output including the command line and all output written to the terminal that might help me figure out what's going on.
Hi Issac,
I am relatively new to easySFS and SFSs in general! I am attempting to create numerous multidimesional SFSs from 18 different VCF files, all containing 4 different populations. The aim of this is to complete demographic inferences using fastsimcoal2, with the hope of identifying a divergence time between the populations. After completing the first conversion step from VCF to SFS for all 18 files,
Command: ./easySFS -i input.vcf -p pops_file.txt --preview .
I successfully get an output with number of samples and number of segregating sites for each. However, when attempting to run the script using chosen projection values for any individual VCF, I receive the following message:
Output directory exists. Use -f to override.
When opening the output directory and moving into the 'fastsimcoal2' directory, I only have joint SFS's for each of the populations - no multiSFS. Further, I have completed the SFS for all individual VCF files, however only the first file I converted is shown to have a completed SFS.
The contents of 'fastsimcoal2' are:
'VCF3'_jointMAFpop1_0.obs, 'VCF3'_jointMAFpop2_0.obs, 'VCF3'_jointMAFpop2_1.obs,
'VCF3'_jointMAFpop3_0.obs, 'VCF3'_jointMAFpop3_2.obs, pop3_MAFpop0.obs,
pop2_MAFpop0.obs, pop1_MAFpop0.obs
I was expecting there to be a 'prefix_MSFS.obs' file in that directory, any ideas on why this is not be created? I also am questioning why only one of the VCF files has had SFS's made, given I have attempted to run the command using projection values on numerous files and still get the same message as stated above. Is it per chance, that each individual VCF have to be converted in a different conda environment?
I would be extremely grateful for any advice/help you may have towards these issues!
Thanks in advance!
The text was updated successfully, but these errors were encountered: