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

Value Error: <my.gvcf.gz> is not a directory. #18

Open
CNHAustin opened this issue Oct 21, 2024 · 0 comments
Open

Value Error: <my.gvcf.gz> is not a directory. #18

CNHAustin opened this issue Oct 21, 2024 · 0 comments

Comments

@CNHAustin
Copy link

CNHAustin commented Oct 21, 2024

Hello, having an issue where snvstory keeps parsing my input gvcf as a directory.

directory structure:
dev/
    |
    data/
        |
        resource_dir/
        output/
        NIST8398-20240828.hard-filtered.gvcf.gz

command:

docker-compose run ancestry --path "data/NIST8398-20240828.hard-filtered.gvcf.gz" --resource "data/resource_dir" --output-dir "/data/NIST_output" --genome-ver 38 --mode WGS`

Error:

Directory: data/NIST8398-20240828.hard-filtered.gvcf.gz does not appear to be local or an s3 input
Traceback (most recent call last):
  File "/opt/Ancestry/igm_churchill_ancestry/cli.py", line 125, in run_ancestry
    local_vcf_dir = flex_input(args.path, INPUT_DIR, directory=True)
  File "/opt/Ancestry/igm_churchill_ancestry/utilities/flex.py", line 58, in flex_input
    raise ValueError(f"{in_path} is not a directory.")
ValueError: data/NIST8398-20240828.hard-filtered.gvcf.gz is not a directory.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/conda/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/Ancestry/igm_churchill_ancestry/__main__.py", line 4, in <module>
    run_ancestry()
  File "/opt/Ancestry/igm_churchill_ancestry/cli.py", line 131, in run_ancestry
    raise RuntimeError
RuntimeError

I've looked through the the functions mentioned and I can't figure out why it's treating my gvcf.gz file as a directory. Could be a pathing issue?

The gvcf is also HUGE (23.5 GB), that could be causing an issue?

Best,
Austin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant