-
Notifications
You must be signed in to change notification settings - Fork 32
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
'long flag "seg-file" is invalid' #322
Comments
That's weird. What's the output of Rscript /data/envsoft/R-4.0.0/lib64/R/library/PureCN/extdata/PureCN.R --help ? |
There seems to be some problem: `Possible Ensembl SSL connectivity problems detected. Usage: /data/envsoft/R-4.0.0/lib64/R/library/PureCN/extdata/PureCN.R [options] need to reinstall this r package? |
Yes, this looks like an ancient version. Try following the README here to get the most recent version. |
I upgraded the software to the latest version 2.7.11, using
I tried running it and still got errors:
My vcf file was generated by analyzing normal.bam and tumor.bam files with mutect2 and was filtered by the FilterMutectCalls. |
I am currently looking into this as well. |
@h170607, have a look here, you will need to tell Mutect to get germline sites. https://bioconductor.org/packages/devel/bioc/vignettes/PureCN/inst/doc/Quick.html#3_Create_VCF_files SNPs provide the allele-specific copy number signal, have a look at our or the ABSOLUTE paper. |
We reran Mutect2 with --genotype-germline-sites true, --genotype-pon-sites true and --interval-padding 75, and got the result. |
Yes, if you have a matched normal, it uses that for the germline vs somatic priors. |
If you get lots of variants removed by the BQ < 25 filter, see #320. |
Hi,
I Run PureCN with CNVkit segmentation:
cnvkit.py export seg ${SAMPLE}_cnvkit.cns --enumerate-chroms -o ${SAMPLE}_cnvkit.seg
`Rscript /data/envsoft/R-4.0.0/lib64/R/library/PureCN/extdata/PureCN.R --out ./${SAMPLE} \
The VCF contains matched normal information. Then got the error, with no results:
/data/envsoft/R-4.0.0/lib64/R/library/PureCN/extdata/PureCN.R: error: Error in getopt(spec = spec, opt = args) : long flag "seg-file" is invalid
The text was updated successfully, but these errors were encountered: