Skip to content

Commit

Permalink
Merge pull request #259 from Ferlab-Ste-Justine/fix/clin-2536
Browse files Browse the repository at this point in the history
fix: CLIN-2536 glow register for vcf loading and some coloumns name changes
  • Loading branch information
meek0 authored Jan 10, 2025
2 parents a508dc3 + 12db289 commit 0a41e24
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,8 @@ object GenomicImplicits {
def vcf(input: String, referenceGenomePath: Option[String], optional: Boolean, split: Boolean)(implicit spark: SparkSession): DataFrame = {
try {
val inputs = input.split(",")
val df = spark.read
val sess = Glow.register(spark)
val df = sess.read
.format("vcf")
.option("flattenInfoFields", "true")
.load(inputs: _*)
Expand Down

0 comments on commit 0a41e24

Please sign in to comment.