122 | | Creating a novel database for snpEff |
123 | | * Make a copy of the snpEff config file containing the path to your new database (ex: ~/snpEff/data/myGenome.v1) |
124 | | * In that directory (ex: data/myGenome.v1) put the genome (called ''sequences.fa'') and a GTF file describing the genes (called ''genes.gtf''). |
125 | | * Go to that directory and run |
126 | | * java -jar /usr/local/share/snpEff/snpEff.jar build -gtf22 -v myGenome.v1 |
127 | | * Now there should be a new file: data/myGenome.v1/snpEffectPredictor.bin |
| 122 | Creating a novel genome database for snpEff: |
| 123 | |
| 124 | * Check if the genome database has been installed: |
| 125 | * cd /usr/local/share/snpEff |
| 126 | * java -jar /usr/local/share/snpEff/snpEff.jar databases |
| 127 | * If not already installed, check if the genome has been processed for snpEff at http://snpeff.sourceforge.net/download.html#dblist |
| 128 | * If you need to create it yourself, do the following: |
| 129 | * Make a copy of the snpEff config file containing the path to your new database (ex: ~/snpEff/data/myGenome.v1) |
| 130 | * In the config file directory (ex: data/myGenome.v1) put the genome sequence (called ''sequences.fa'') and a GTF file describing the genes (called ''genes.gtf''). |
| 131 | * Go to that directory and run |
| 132 | * java -jar /usr/local/share/snpEff/snpEff.jar build -gtf22 -v myGenome.v1 |
| 133 | * Now there should be a new file: data/myGenome.v1/snpEffectPredictor.bin |