Good day,
I have a question regarding handling custom tracks in Hg19 vs Hg38 Genome browser. I couldn’t find the answer in the help & FAQ sections, and I hope that I could get some help from you.
I have received a session link with custom tracks in hg19, and I would like to transfer the track in hg38 browser.
I have clicked on the track name -> update custom track, then I copied the info shown and pasted it in a new custom track in hg38
the info is:
track type=bigWig name="S015UGH1" bigDataUrl=http://mbdata.science.ru.nl/share/yi/AML_RNA/S015UGH1_Aligned.sortedByCoord.bw
However, the data appeared shifted to a different genome location, as expected. It’s written in the link above that it’s Aligned.
How can I transfer this custom track to its new appropriate coordinates in hg38?
Session link:
https://genome.ucsc.edu/s/marcmansour/Yi%20RNA%2Dseq%20AML
Many thanks!
Ali Alhawaj
UCL Cancer institute
London, UK
Hello, Ali.
Thank you for your interest in the Genome Browser and your question about transferring custom tracks from hg19 to hg38.
You could use the UCSC LiftOver tool to move annotations from one assembly to another. You can download the ‘liftOver’ utility from the downloads page, https://hgdownload.soe.ucsc.edu/downloads.html#utilities_downloads. You can then find ‘liftOver’ under the directory that matches your operating system. For example, here is the direct link for linux:
http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/liftOver
Our ‘liftOver’ tool only accepts BED files as input, so you would first need to convert the files from bigWig to bedGraph. You can use the ‘bigWigToBedGraph’ utility to make this conversion:
http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bigWigToBedGraph
After running ‘liftOver’ on the bedGraph file, you could then use the 'bedGraphToBigWig' to convert it back into a bigWig file for display:
http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bedGraphToBigWig
Our engineers shared a bit of code, that includes the 'bedRemoveOverlap' (http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bedRemoveOverlap) and 'bedGraphPack' (http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bedGraphPack) utilities, which you can run to remove overlapping items from the liftOver results file and merge adjacent records with identical scores:
You can run a utility on its own to see a help message, e.x.
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 Google Groups forum. If your question includes sensitive data, you may send it instead to genom...@soe.ucsc.edu.
Gerardo Perez
UCSC Genomics Institute
--
---
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 view this discussion on the web visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome/DBAPR01MB70789B032AFB8CA16536613289F29%40DBAPR01MB7078.eurprd01.prod.exchangelabs.com.
Hello, Ali.
To follow-up, you could also use Crossmap to perform the bigWig conversion directly without any other conversions. Crossmap accepts the same input files, our liftOver files, and the author says it gets almost the same results. You can learn more about the program from their website, http://crossmap.sourceforge.net/. Unfortunately, we do not maintain Crossmap
so we cannot provide guidance on how to use the tool. You may find posting any questions about
Crossmap on other bioinformatic forums such as BioStars, https://www.biostars.org/.
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 Google Groups forum. If your question includes sensitive data, you may send it instead to genom...@soe.ucsc.edu.
Gerardo Perez
UCSC Genomics Institute
--
Thank you very much for the detailed reply!
Much appreciated!!
Ali