Entering edit mode
9.5 years ago
Ishtiaq Ahmad Khan
▴
70
I am using liftOver to convert hg19-hg38. I made BED file from VCF to run liftOver. How can I convert output BED(HG38) to VCF format.
I successfully run CrossMap. It was my first experience at Biostars and happened to be so nice. Thank you very much for your help.
Just curious--did you end up using either of my tweaks? Which one ended up working for you?
Thank you komal. I have installed CrossMap. I tried to run
It generates following error message
Do you think it is not properly installed?
cmmodule is a directory within CrossMap lib that contains python modules for CrossMap.py. I can think of two ways you can add the lib directory to your python path. You can do it in BASH by running something like
taken from here: http://crossmap.sourceforge.net/#installation
After you export the directory to PYTHONPATH, you should be able to run CrossMap as usual. I don't like doing this since then it's in my path until my next logout. More importantly, I'll have to remember to export PYTHONPATH in every new session where I want to run CrossMap, and I know I'll forget this.
Instead, I added these three lines to my code just before
import optparse
, and the script adds lib to the python path on its own:As long as bin and lib are sister directories, this should work. Let me know if you want any more explanation about why it does.
Sir, I am having the same problem about running Crossmap. I got the same cmmodule error. But since I have python through home-brew. I guess it caused a problem. Could you help to solve my problem ? or I you could teach me how to catch a fish I would also be glad. Thank you very much for your help.
edit:
btw, my python site packages are located the path below.
What python version did you use?
Python 2.7.3
I tried first and it worked.
I am trying CrossMap but it requires chain file. Is there any way without using chain file?