-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error due to undesirable use of an alternative contig of the reference genome #14
Comments
Hi @Tintest, Thank you for raising this issue. However, I also see your point why it should have worked in the first place. I will look into that and come back to you. |
# Fixed issues: - #14 All contigs that are in the reference but now in coverage data are skipped, and a warning is issued. Furthermore, if no matching contigs are found, Spectre will terminate. - #15 Due to obsolete code references, Spectre would crash if provided with the `--population` flag in the CNVCaller mode. This has been updated accordingly. - #16 The flag `--ploidy-chr` required instructions on how to transform the chromosome coverage according to the global ploidy status. This has been changed only to provide the current ploidy state of the chromosome. Spectre will do the transformation calculation automatically now. - #17 When providing multiple samples without the `--population` flag, results have only been properly outputted to the first sample. Providing multiple samples has only been attended to be used with the `--population` flag. Thus, only CNVs will only be calculated for the first provided sample if the `--population` flag is missing. # Further updates: - Fixed: SPC file generation removed all values that were default values according to its datatype. - Fixed: Re-initialization of variant candidates after loading the SPC file. - Fixed: Updated functions that used paths only used in the debug mode. - Added: Two new flags for the population mode `--reciprocal-overlap` and `--disable-quality-filter`: - `--reciprocal-overlap` will allow you to change the reciprocal overlap value when looking for the supporting variants in other samples. - `--disable-quality-filter` will allow you to look for supporting variants in the variants that did not pass the final filter of Spectre in the CNVCaller mode. (Non-passing reasons of the variants could have been that the variant was too small to pass the minimum CNV length, etc.) - Added: Pre-calculation checks, which ensure that the user provides proper values. - Added: Instructions on how to install the latest changes of Spectre locally with pip. - Updated: Search for supporting variants is primarily done on variants that passed the final filter criteria of the CNVCaller mode. - Updated: The minimum required package versions. - Updated: Help message. - Updated: README.md - Updated: Minor code changes # Known issues: - Population mode: If multiple samples contain the same variant, Spectre will try to find for all of them a supporting variant. This can lead to duplicated variant calls in the final output of the population mode. This will be subject to change in a future release.
Hello,
I encountered an error related to the presence of an alternative contig on which Spectre wanted to make the CNV call, whereas I only wanted to make the call on the canonical contigs.
Even though I had specified the contigs I wanted, with the --only-chr argument and the *.regions.bed.gz files were generated specifically on the canonical contigs, Spectre persists in wanting to make the call on the contig HSCHR16_RANDOM_CTG1 present in the reference genome that I am using.
I solved the problem by using the new reference genome produced by the following command :
I don't know if it's a bug or my fault, but I couldn't find any instructions on how to handle alternative contigs in the Spectre README.
Regards.
The text was updated successfully, but these errors were encountered: