"hrc-1000g-check-bim.py" Unable to open specified bim file
1
0
Entering edit mode
5.5 years ago
zhangcc89 • 0

Hi, I have met some problems about running hrc-1000g-check-bim.py. Can any experts give me some advice? Thanks very much.

Reference Panel:             HRC
Bim filename:                /Volumes/Mac8/GWAS_all20190509/GWAS/iha_QCQC7
Reference filename:          /Volumes/GWAS_all2019/GWAS/pipe_QC_to_Phase_githb/_Chr/HRC.r1-1.GRCh37.wgs.mac5.sites.tab
Allele frequencies filename: iha_QCQC7
Chromosome flag set:         No
Allele frequency threshold:  0.2

***ERROR****: Unable to open specified bim file: /Volumes/Mac8/GWAS_all20190509/GWAS/iha_QCQC7

Please check path and filename and try again
GWAS • 2.6k views
ADD COMMENT
1
Entering edit mode

Isn't there a suffix missing? iha_QCQC7

ADD REPLY
0
Entering edit mode

Nope. I have double checked.

ADD REPLY
0
Entering edit mode

I mean did you check that the file you find via ls /Volumes/Mac8/GWAS_all20190509/GWAS/iha_QCQC7* is not actually called /Volumes/Mac8/GWAS_all20190509/GWAS/iha_QCQC7.bim?

ADD REPLY
0
Entering edit mode

The same errors with adding specified path:

Reference Panel:             HRC
Bim filename:                /Volumes/Mac8/GWAS_all/pipe_QC_to_Phase_githb/GWAS_Chr/iha_filter_QCQC7
Reference filename:          /Volumes/Mac8/GWAS_all/pipe_QC_to_Phase_githb/GWAS_Chr/HRC.r1-1.GRCh37.wgs.mac5.sites.tab
Allele frequencies filename: /Volumes/Mac8/GWAS_all/pipe_QC_to_Phase_githb/GWAS_Chr/iha_filter_QCQC7
Chromosome flag set:         No
Allele frequency threshold:  0.2
ADD REPLY
0
Entering edit mode

Please use ADD COMMENT or ADD REPLY to answer to previous reactions, as such this thread remains logically structured and easy to follow. I have now moved your reaction but as you can see it's not optimal. Adding an answer should only be used for providing a solution to the question asked.

If you add new information, please update your initial question.

ADD REPLY
0
Entering edit mode

Can you show the output of file /Volumes/Mac8/GWAS_all20190509/GWAS/iha_QCQC7 and ls /Volumes/Mac8/GWAS_all20190509/GWAS/iha_QCQC7*?

ADD REPLY
2
Entering edit mode
5.5 years ago
Tao ▴ 540

Hi, I remember it needs to specify the suffix of bim file. Such as:

perl HRC-1000G-check-bim.pl -b data.bim -f data.frq -r HRC.r1-1.GRCh37.wgs.mac5.sites.tab -h
ADD COMMENT
0
Entering edit mode

Cool! Thanks very much.

ADD REPLY
1
Entering edit mode

Me: Isn't there a suffix missing? iha_QCQC7

You: Nope. I have double checked.

Didn't you say you checked if suffixing changes things? Please see my new comment above.

ADD REPLY
0
Entering edit mode

If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.
Upvote|Bookmark|Accept

ADD REPLY

Login before adding your answer.

Traffic: 1649 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6