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

Issue with write results #118

Open
sahilseth opened this issue Nov 13, 2019 · 1 comment
Open

Issue with write results #118

sahilseth opened this issue Nov 13, 2019 · 1 comment

Comments

@sahilseth
Copy link

sahilseth commented Nov 13, 2019

multievolve completed successfully with the following message:

[2019-11-12 07:45:12] You may remove the following unneeded intermediate files: phylowgs/chain_2/trees.zip phylowgs/chain_3/trees.zip
[2019-11-12 07:45:12] To write JSON results, please run `python write_results.py run_name trees.zip run_name.summ.json.gz run_name.muts.json.gz run_name.mutass.zip`

However, when running this command I get the following error:

python write_results.py run_name trees.zip run_name.summ.json.gz run_name.muts.json.gz run_name.mutass.zip

starting ResultGenerator
reading file:  trees.zip
Traceback (most recent call last):
  File "write_results.py", line 60, in <module>
    main()
  File "write_results.py", line 45, in main
    summaries, mutlist, mutass, params = ResultGenerator().generate(args.tree_file, args.include_ssm_names)
  File "pwgsresults/result_generator.py", line 14, in generate
    first_tree = next(reader.load_trees())
StopIteration

I tried stepping through the code, but can't pinpoint the issue.

  • the trees.zip has 5000 tree files along with:
    • params.json
    • cnv_logical_physical_mapping.json

Thanks for the help!

@sahilseth
Copy link
Author

Wanted to check if someone else has encountered this issue

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