Skip to content
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 in running gccount #143

Open
DeMagicscience opened this issue Apr 28, 2024 · 1 comment
Open

error in running gccount #143

DeMagicscience opened this issue Apr 28, 2024 · 1 comment

Comments

@DeMagicscience
Copy link

DeMagicscience commented Apr 28, 2024

Hi, thank you for developing Control-freec.
When I was running the gccount program, I encountered the following error message:

Unable to open fasta file for chr 248956422 in folder /home/user/reference/fasta
Please note, /home/user/reference/fasta should be a folder, not a file!

my config file for gccount was:

[general]
chrLenFile = /home/user/reference/fasta/genome.fa.fai
ploidy = 2
window = 50000
step= 10000
outputDir = /home/user/control_freec/test
chrFiles = /home/user/reference/fasta

This error message is so weird, because the reference genome can be normally used in my previous analysis, which I used WGS data of paired tumor and normal samples thus no need to calculate GC content.
Can you give me some advice how to solve this problem?
Thank you for your time!

@DeMagicscience DeMagicscience changed the title error in running gccout error in running gccount Apr 29, 2024
@valeu
Copy link
Contributor

valeu commented Jul 20, 2024

It can be that the version of gccount you use does not understand the fa.fai format (while FREEC does). You can try to provide the chromosome length file in a tab-delimited format like this one: http://bioinfo-out.curie.fr/projects/freec/src/hg19.len

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants