Closed priyambial123 closed 1 year ago
Thanks for contacting me. I am having trouble recreating your error so I'm not sure what to recommend right now. It doesn't look like an installation error to me as SVAFotate appears to be running as expected. It is just having trouble writing to an output and the error itself is coming from cyvcf2. Could you try running it with the --out_type
parameter? I would try that with the vcf
and maybe also again with the vcfgz
options. Let me know if either or both of those return the same error. Also maybe check which version of cyvcf2 is running in our env and make sure it is matches what is in the requirements.txt
file (cyvcf2==0.30.4
).
I tried with out_type parameter with vcf and vcf.gz options, both returned the same error as the one above in previous post. cyvcf2 version is 0.10. I couldn't update it 0.30.4 as there are conflicts with other packages in the conda environment
I'm guessing that is the problem. The error is coming from cyvcf2. I recommend that you upgrade it to the specified version. Did you create a new conda environment for this as outlined (https://github.com/fakedrtom/SVAFotate#installation)? All the packages and their versions listed in requirements.txt
should work with one another.
I installed mambaforge and could install all the required packages. There were conflicts with required versions in miniconda3. After installation of the required versions of packages, the output was returned as a vcf file
Thank you
Great! I'm glad that it is working now!
Hello,
I ran this command for annotating the vcf:
svafotate annotate -v "rerun_secondcleanup.GRCh38.pbsv.vcf.gz" -o "rerun_secondcleanup.GRCh38.pbsva4annotate.vcf" -b "SVAFotate_core_SV_popAFs.GRCh38.bed.gz"
Error:
What are the two positional arguments here or is there an error in the installation process
Thank you