Skip to content

Commit

Permalink
Merge pull request #48 from Clinical-Genomics-Lund/fix-annotate-delly…
Browse files Browse the repository at this point in the history
…-output-arg

Fix annotate delly output arg
  • Loading branch information
ryanjameskennedy authored Mar 20, 2024
2 parents 4d51679 + 0ad389c commit 088693c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

### Fixed

- Fixed `--output` arg re annotate delly

### Changed

- Removed sample id from Sample object
Expand Down
7 changes: 6 additions & 1 deletion prp/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
"""Definition of the PRP command-line interface."""
from prp import VERSION as __version__

import json
import logging
from pathlib import Path
Expand Down Expand Up @@ -48,6 +50,7 @@


@click.group()
@click.version_option(__version__)
def cli():
"""Jasen pipeline result processing tool."""

Expand Down Expand Up @@ -416,7 +419,9 @@ def create_qc_result(sample_id, bam, bed, baits, reference, cpus, output) -> Non
@cli.command()
@click.option("-v", "--vcf", type=click.Path(exists=True), help="VCF file")
@click.option("-b", "--bed", type=click.Path(exists=True), help="BED file")
@click.argument("output", type=click.Path(writable=True))
@click.option(
"-o", "--output", required=True, type=click.File("w"), help="output filepath"
)
def annotate_delly(vcf, bed, output):
"""Annotate Delly SV varinats with genes in BED file."""
output = Path(output)
Expand Down

0 comments on commit 088693c

Please sign in to comment.