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

MissingInputException in native running #54

Open
dingyigithub opened this issue Sep 7, 2024 · 6 comments
Open

MissingInputException in native running #54

dingyigithub opened this issue Sep 7, 2024 · 6 comments

Comments

@dingyigithub
Copy link

Hi,

When I am trying to run PAV natively with command as

snakemake -s /storage/yangjianLab/dingyi/tools/pav/Snakefile --cores 2

It threw an error:
image

And when I tried generating an empty file named HG002.vcf.gz, the snakemake ended and displayed:
image

The assemblies.tsv and config.json were both there. I don't know what's wrong with it (x_x) ... By the way, my snakemake is version 8.18.2, Is it a problem with the version?
Extremely thankful for your response!

@paudano paudano reopened this Sep 10, 2024
@paudano
Copy link
Contributor

paudano commented Sep 10, 2024

My apologies for not getting to this sooner. I think the default rule for VCFs isn't working right. I'll fix this in an upcoming version and push it out. Were you able to run PAV?

@paudano
Copy link
Contributor

paudano commented Sep 10, 2024

The change in VCFs leaked through before I intended, I am working on a major release for PAV now. I've fixed this version, and I'm testing now through the default rule. Once the pipeline completes, I'll push v2.4.2.

@dingyigithub
Copy link
Author

The change in VCFs leaked through before I intended, I am working on a major release for PAV now. I've fixed this version, and I'm testing now through the default rule. Once the pipeline completes, I'll push v2.4.2.

Hi paudano,
Thanks for your reply!
I also guessed it is due to the change accidentally uploaded so I used the previous version 2.3.4, and happily it worked.
However, just now, when running the last job vcf_write_vcf in snakemake, an error message was displayed: "RuleException: TypeError in line 226 of /storage/yangjianLab/dingyi/tools/pav-2.3.4/rules/vcf.snakefile: header_list() got an unexpected keyword argument 'ref_file_name'."
The corresponding code in the vcf.snakefile is like:

image

I'm not sure whether it is an issue with svpoplib or with my data. Thank you again for your help. 🤝

@dingyigithub
Copy link
Author

I edit the parameter "ref_file_name" to "ref_filename" and it worked. Maybe it is due to the slight difference between different svpop versions. Thanks very much!

The change in VCFs leaked through before I intended, I am working on a major release for PAV now. I've fixed this version, and I'm testing now through the default rule. Once the pipeline completes, I'll push v2.4.2.

Hi paudano, Thanks for your reply! I also guessed it is due to the change accidentally uploaded so I used the previous version 2.3.4, and happily it worked. However, just now, when running the last job vcf_write_vcf in snakemake, an error message was displayed: "RuleException: TypeError in line 226 of /storage/yangjianLab/dingyi/tools/pav-2.3.4/rules/vcf.snakefile: header_list() got an unexpected keyword argument 'ref_file_name'." The corresponding code in the vcf.snakefile is like:

image I'm not sure whether it is an issue with svpoplib or with my data. Thank you again for your help. 🤝

@paudano
Copy link
Contributor

paudano commented Sep 16, 2024

I saw that error too, yes, it changed with the last SV-Pop release to harmonize naming conventions. Something got out of sync with PAV (SV-Pop is a submodule). I think I had to delete __pycache__ in dep/svpop/svpoplib on my system before it went away (in a testing native install).

I am temporarily releasing 2.4.1.2. I want to do more testing before I call it a stable release (any PAV version with a fourth number is a development version). It's out now if you want to try it. I expect 2.4.2 this week or next (it's going to be a busy week).

@dingyigithub
Copy link
Author

Looking forward to it! Wish you good luck and thanks for kindly help :)

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

2 participants