Skip to content

Commit

Permalink
Merge pull request #79 from yashjanidev/main
Browse files Browse the repository at this point in the history
Update vcfPrepper.py
  • Loading branch information
mihaitodor authored Nov 5, 2023
2 parents ba0d977 + fe92e1d commit 06a224a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions utilities/vcfPrepper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import subprocess
import sys

fileFolderPath = "C:\\snpEff\\simple\\38"
outputFolderPath = "C:\\snpEff\\output"
snpEffPath = "C:\\snpEff"
vcfFileFolderPath = "C:\\snpEff\\simple\\38" # Path where VCF file is present
outputFolderPath = "C:\\snpEff\\output" # Here, output will generate
snpEffPath = "C:\\snpEff" # Path of snpEff folder
databasePath = "C:\\snpEff\\gnomad.exomes.r2.1.1.sites.liftover_grch38.vcf.bgz"

genome = 'GRCh38.p13'
Expand All @@ -22,9 +22,9 @@

os.chdir(snpEffPath)

for vcfFile in os.listdir(fileFolderPath):
for vcfFile in os.listdir(vcfFileFolderPath):
print('in file: ' + vcfFile)
filePath = fileFolderPath + '\\' + vcfFile
filePath = vcfFileFolderPath + '\\' + vcfFile
outputPath = outputFolderPath + '\\' + vcfFile
snpEffCmd = ['java', '-jar', snpEffJarPath] + ['-o', 'vcf'] + [genome, filePath]

Expand Down

0 comments on commit 06a224a

Please sign in to comment.