-
Notifications
You must be signed in to change notification settings - Fork 49
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
FREEC cannot open .vcf.gz file #41
Comments
This is a standard error when a file is not present. What do you get when you do |
the file is present in the specified directory
it's also been bgzipped back to previous |
apologies, I am switching between 2 online servers and they have slightly different directory trees. there was one directory missing between /home/ and the file. Thanks for pointing that out! I have a second question, when I don't specify a pileup file in the config as mateFile, and instead I use a BAM file, config file looks like this:
I get an error telling saying
Is this correct for the first iteration of FREEC whilst it makes the necessary minipileup file, or is something missing from the config file? To get round this I made my own mpileup file with samtools mpileup, and once overcoming the previous problem, it's now running with no errors as of yet. best, Ll. |
Thank you for pointing out the problem. It seems that I did not debug the "minipileup" option for WGS, but only for WES, where a target.bed file is provided with exon coordinates. I will check what is gong on. UPDATE: it seems that your "/home/HG38/Hg38_chromosomeLengthFile.txt" is in a format that FREEC cannot read in function "createBedFileWithChromosomeLengths()". Can you try to use fa.fai format? and then check that WGS.bam_NewCaptureRegions.bed is not empty? Also, if you use this "makePileup" option, you .BAM file with reads should contain "chr" prefixes for chromosomes.. Is it the case? |
I will have a look at your .BAM reading issue. However, I would not recommend to use
Instead, just comment or remove these parameters and let FREEC find the best window size for your data. If you want to keep it, rather use
BTW, parameter And I would also let FREEC choose the best parameters for the model: You will also greatly improve the output if you use |
I am running into the same issue outlined above, where the WGS workflow is not properly handling a BAM file without chr prefix in the chromosome names. Has this been fixed in some way that I have missed?
|
v11.5 takes .fai into account in function "createBedFileWithChromosomeLengths()". Is it the version you are using? Yes, I think that if you create a miniPileup, .BAM files should contain "chr" prefixes. |
Hi,
I have a WGS .BAM file that I want to interrogate for CNA and LOH.
My config file is pretty much set up for with default settings, with files specified where necessary. I'm primarily using FREEC to generate the LOH analysis but I have an error reading the SNP vcf file.
Config file:
The programme runs fine, with no errors or warnings until
At first I wondered if this was because the SNP file was .vcf.gz but that resulted in the same error which is why i then unzipped it.
I'm using FREEC v11.4.
Can you help?
Best,
The text was updated successfully, but these errors were encountered: