Skip to content

ColumbiaCPMG/liftOverCNV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

liftOverCNV

Wrapper to use liftOver to convert CNVs between genome builds. The minimum match is reduced by 1% each time until a matching liftover can be found.

Input: CNV file must have first column in format chr:start-end (PennCNV format)
Output columns: 'new_positions' 'match_percent' 'original columns...'

Usage:
python3 liftOverCNV.py [chain_file] [cnv_file] [output_file]

Installation Requirements

Download Chain files
Add any additiona chain file download locations to the following file. The links to most common chain files are already included.

chain_files/chain_file_downloads.txt

Run command to download the chain files.
wget -P chain_files/ -i chain_files/chain_file_downloads.txt

Run the Example
python3 liftOverCNV.py chain_files/hg19ToHg38.over.chain.gz test_files/CNVs_hg18.txt CNVs_hg38_lifted.txt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages