Closed SergeWielhouwer closed 2 months ago
Hi @SergeWielhouwer
I am currently still trying to set Spectre up correctly and I encountered a strange issue when using extremely low-coverage input data (mainly for quickly testing the Snakemake workflow then to really perform accurate CNV calling). When no variants are reported by Spectre, the program doesn't seem to write any .vcf.gz/.vcf.gz.tbi file or _cnv.bed.gz/_cnv.bed.gz.tbi file to the output directory. Ideally, I would expect an empty VCF file, then just no file at all as Snakemake (or other workflow managers) check for these output files.
It seems you are not running the latest version of Spectre. Your version: 0.2.1
.
The latest public Spectre version 0.2.1-patch-july15
should address the issues. For the latest bug fixes, please always check GitHub. We will push the bug fixes with the next Spectre version to pip as well.
To install Spectre from GitHub locally using pip you can use the following commands:
pip install build
git clone https://github.com/fritzsedlazeck/Spectre.git
cd ./Spectre
python3 -m build
pip install dist/spectre_cnv-<VERSION>.tar.gz # replace <VERSION> with e.g. 0.2.0
Also the --output-file parameter, which is required for the RemoveNs function, seems to be missing from your readme (which also has a small typo).
Thank you for pointing that out! I will fix that asap!
Please let me know if that did the trick for you or if you are encountering any other problems.
Best, Philippe
Hi @philippesanio,
Thanks for pointing out the new patches and the quick fixes on the readme. I was checking out the "releases" section and did not realise that cloning from GIT directly would be a better approach. It is nice to see that this issue was already pointed out before and fixed accordingly.
I will try out installing the newest patch release and will get back to you if I encounter any new issues
Thanks again!
Serge
Hi,
I am currently still trying to set Spectre up correctly and I encountered a strange issue when using extremely low-coverage input data (mainly for quickly testing the Snakemake workflow then to really perform accurate CNV calling). When no variants are reported by Spectre, the program doesn't seem to write any .vcf.gz/.vcf.gz.tbi file or _cnv.bed.gz/_cnv.bed.gz.tbi file to the output directory. Ideally, I would expect an empty VCF file, then just no file at all as Snakemake (or other workflow managers) check for these output files.
What I expect as output.
What I got instead.
Any idea what's causing this?
Also the --output-file parameter, which is required for the RemoveNs function, seems to be missing from your readme (which also has a small typo).
Thanks again for your input!
Serge