Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix annotate delly output arg #48

Merged
merged 3 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading