Skip to content

Commit

Permalink
Fix gzipped file load
Browse files Browse the repository at this point in the history
  • Loading branch information
gaow committed Oct 31, 2023
1 parent 8184f91 commit a6dea32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variant-annotation/vep.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"kernel": "SoS"
},
"source": [
"# VEP annotation of rare variants using plugins"
"# VEP annotation of variants in VCF format using plugins"
]
},
{
Expand Down Expand Up @@ -314,7 +314,7 @@
" header = header_comment.split('#')[1]\n",
" # Split the header into column names\n",
" columns = header.split('\\t')\n",
" df = pd.read_csv(${_input}, comment='#', sep='\\t', names=columns)\n",
" df = pd.read_csv(${_input}, compression='gzip', comment='#', sep='\\t', names=columns)\n",
" df.to_csv(${_output}, index=False, sep='\\t', header=True, compression={'method': 'gzip', 'compresslevel': 9})"
]
},
Expand Down

0 comments on commit a6dea32

Please sign in to comment.