43 | | # Get the appropriate chain files |
44 | | #* From the [ftp://gsapubftp-anonymous@ftp.broadinstitute.org Broad GSA ftp] (password is blank) |
45 | | #* From the [http://hgdownload.cse.ucsc.edu/downloads.html#human USCS Genome Browser] |
46 | | # Get the appropriate fasta files (you'll need both from-and-to builds fasta files) |
47 | | #* From [ftp://ftp.ncbi.nlm.nih.gov/genomes/H_sapiens/ NCBI] |
48 | | #* From [http://hgdownload.cse.ucsc.edu/downloads.html#human USCS Genome Browser] |
49 | | # Index the fasta files appropriately to get .fai (samtools) and .dict files (Picard) as described on the [http://www.broadinstitute.org/gsa/wiki/index.php/Preparing_the_essential_GATK_input_files:_the_reference_genome GATK wiki] |
50 | | # Get and run the [http://www.broadinstitute.org/gsa/wiki/index.php/LiftOverVCF.pl GATK LiftOver tool] |
52 | | Note that once the liftover VCF has successfully been created, it can be used to liftover the PLINK files. To do so: |
53 | | # Remove all SNPs that are not present in the new reference VCF file (using plink --extract) |
54 | | # Use the liftover VCF as an input to the ''liftover-bim.pl'' tool . |
| 45 | 1. # Get the appropriate chain files |
| 46 | * From the [ftp://gsapubftp-anonymous@ftp.broadinstitute.org Broad GSA ftp] (password is blank) |
| 47 | * From the [http://hgdownload.cse.ucsc.edu/downloads.html#human USCS Genome Browser] # |
| 48 | 1. Get the appropriate fasta files (you'll need both from-and-to builds fasta files) |
| 49 | * From [ftp://ftp.ncbi.nlm.nih.gov/genomes/H_sapiens/ NCBI] |
| 50 | * From [http://hgdownload.cse.ucsc.edu/downloads.html#human USCS Genome Browser] |
| 51 | 1. Index the fasta files appropriately to get .fai (samtools) and .dict files (Picard) as described on the [http://www.broadinstitute.org/gsa/wiki/index.php/Preparing_the_essential_GATK_input_files:_the_reference_genome GATK wiki] |
| 52 | 1. Get and run the [http://www.broadinstitute.org/gsa/wiki/index.php/LiftOverVCF.pl GATK LiftOver tool] |
| 53 | |
| 54 | Note that once the liftover VCF has successfully been created, it can be used to liftover the PLINK files. To do so: |
| 55 | |
| 56 | 1. Remove all SNPs that are not present in the new reference VCF file (using plink --extract) |
| 57 | 1. Use the liftover VCF as an input to the ''liftover-bim.pl'' tool . |