Hello,
I am trying to use liftOver to map a GWAS study in bed format from build 36 (hg18) to build 37 (hg19). I have not succeeded in using liftOver and need assistance:
1. The online tool doesn’t work for me. I upload the bed file but after I hit submit, it seems to upload the file but nothing happens afterwards (tried two different browsers).
2. I tried using the linux version. The first thing I noticed is that there is no hg18ToHg19.over.chain file, only hg19ToHg18.over.chain at http://hgdownload.soe.ucsc.edu/goldenPath/hg19/liftOver/ . Will that work?
3.
Even if I try to use hg19ToHg18.over.chain with the following command
>./liftOver data_file_hg18.bed hg19ToHg18.over.chain data_file_hg19.bed unMapped.txt
I get the following error:
Reading liftover chains
Mapping coordinates
Expecting integer field 2 line 1 of LOAD-610K_FORWARD_strand_consent_1.bed, got ��������?���������
Which tells me it was expecting a text file and not binary?
Kind Regards,
Assaf
-----------------
Assaf Gottlieb
Assistant Professor, Center for Precision Health
School of Biomedical Informatics
The University of Texas Health Science Center at Houston
7000 Fannin St. Houston, TX 77030
Phone: 713-500-3698
--
---
You received this message because you are subscribed to the Google Groups "UCSC Genome Browser Public Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genome+un...@soe.ucsc.edu.
To post to this group, send email to gen...@soe.ucsc.edu.
Visit this group at https://groups.google.com/a/soe.ucsc.edu/group/genome/.
To view this discussion on the web visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome/cd6235dc796d42f69ecd924adb9d4ed0%40uth.tmc.edu.
For more options, visit https://groups.google.com/a/soe.ucsc.edu/d/optout.
Dear Assaf,
Thank you again for using the UCSC Genome Browser and for your follow-up question about liftOver.
Could you please elaborate on what tool you used for flipping the strands? Also, it may be helpful to contact the author of the tool you used to troubleshoot the error you are receiving.
Additionally, if the genotypes you are using can be converted to VCF format(https://genome.ucsc.edu/FAQ/FAQformat.html#format10.1), then the tool CrossMap might be able to both liftOver and adjust strands/alleles. Here is a link to the CrossMap documentation page: http://crossmap.sourceforge.net/
I hope this is helpful. If you have any further questions, please reply to gen...@soe.ucsc.edu. All messages sent to that address are archived on a publicly-accessible forum. If your question includes sensitive data, you may send it instead to genom...@soe.ucsc.edu.
Hello Conner,
Thanks for your reply. It made me realize the difference between UCSC and plink BED files. As a follow-up – I managed to liftover an hg18 to hg19 version. I proceeded to use another tool for flipping the strands as I did for other genotypes that did not need lifting. However, upon trying to impute, I still have errors regarding erroneous strands.
What is the correct procedure to both liftOver and flip strands? Should I only liftOver or flip before the liftOver?
Regards,
Assaf