Skip to content

Add script to create Hg38 to B37 liftover chain - #5579

Merged
kachulis merged 5 commits into
masterfrom
ck_Hg38ToB37_liftover
Jan 16, 2019
Merged

kachulis merged 5 commits into
masterfrom
ck_Hg38ToB37_liftover

Conversation

@kachulis

Copy link
Copy Markdown
Contributor

This script is nearly identical to the createLiftoverForB37ToHg38.sh, with small changes to reverse the direction of the liftover.

@kachulis
kachulis requested a review from jonn-smith January 15, 2019 19:45
@codecov-io

codecov-io commented Jan 15, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #5579 into master will decrease coverage by 0.001%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##              master    #5579       +/-   ##
==============================================
- Coverage     87.051%   87.05%   -0.001%     
  Complexity     31480    31480               
==============================================
  Files           1923     1923               
  Lines         145146   145146               
  Branches       16081    16081               
==============================================
- Hits          126351   126350        -1     
  Misses         12944    12944               
- Partials        5851     5852        +1
Impacted Files Coverage Δ Complexity Δ
...nder/utils/runtime/StreamingProcessController.java 67.299% <0%> (-0.474%) 33% <0%> (ø)

@jonn-smith jonn-smith left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two very minor changes.

After they're changed, feel free to merge.

# EXAMPLE:
# ./createLiftoverChainFileForHg38ToB37.sh
#
# AUTHOR: Jonn Smith

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to update the authorship here. :P


error "Retrieving baseline hg38->hg19 chain file..."
hg19LiftoverFile=$( makeTemp )
curl "${HG38_HG19_CHAIN_FILE_URL}" 2>/dev/null | gunzip > ${hg19LiftoverFile}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For code clarity it may be helpful to change hg19LiftoverFile to hg38LiftoverFile here and below.

@kachulis
kachulis merged commit 7012ff6 into master Jan 16, 2019
@kachulis
kachulis deleted the ck_Hg38ToB37_liftover branch January 16, 2019 14:16
@hsiaoyi0504

hsiaoyi0504 commented Aug 9, 2020 •

Copy link
Copy Markdown

@kachulis May I ask where is the resulting chain file for lifting over from Hg38 to B37? It seems to me that only the chain file for lifting over from B37 to Hg38 is available in the repo. Thanks.

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

Successfully merging this pull request may close these issues.

4 participants