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

Create dag on the server side #54

Open
fgypas opened this issue Nov 24, 2019 · 2 comments
Open

Create dag on the server side #54

fgypas opened this issue Nov 24, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request python

Comments

@fgypas
Copy link
Member

fgypas commented Nov 24, 2019

We need to dynamically create a dependency graph based on the input and output files to visualize the progress of the workflows.

Some options we should consider from snakemake
--d3dag, --dag, --rulegraph, --filegraph

@fgypas fgypas added the enhancement New feature or request label Nov 24, 2019
@fgypas
Copy link
Member Author

fgypas commented Dec 4, 2019

@gntalaperas You can start by creating a dag based on the following:

{"nodes": [{"id": 0, "value": {"jobid": 0, "label": "finish", "rule": "finish"}}, {"id": 1, "value": {"jobid": 1, "label": "merge_results", "rule": "merge_results"}}, {"id": 2, "value": {"jobid": 2, "label": "HTSeq_count", "rule": "HTSeq_count"}}, {"id": 3, "value": {"jobid": 3, "label": "HTSeq_count", "rule": "HTSeq_count"}}, {"id": 4, "value": {"jobid": 4, "label": "HTSeq_count", "rule": "HTSeq_count"}}, {"id": 5, "value": {"jobid": 5, "label": "HTSeq_count", "rule": "HTSeq_count"}}, {"id": 6, "value": {"jobid": 6, "label": "samtools_sort", "rule": "samtools_sort"}}, {"id": 7, "value": {"jobid": 7, "label": "samtools_index", "rule": "samtools_index"}}, {"id": 8, "value": {"jobid": 8, "label": "samtools_sort", "rule": "samtools_sort"}}, {"id": 9, "value": {"jobid": 9, "label": "samtools_index", "rule": "samtools_index"}}, {"id": 10, "value": {"jobid": 10, "label": "samtools_sort", "rule": "samtools_sort"}}, {"id": 11, "value": {"jobid": 11, "label": "samtools_index", "rule": "samtools_index"}}, {"id": 12, "value": {"jobid": 12, "label": "samtools_sort", "rule": "samtools_sort"}}, {"id": 13, "value": {"jobid": 13, "label": "samtools_index", "rule": "samtools_index"}}], "links": [{"u": 1, "v": 0}, {"u": 2, "v": 1}, {"u": 3, "v": 1}, {"u": 4, "v": 1}, {"u": 5, "v": 1}, {"u": 6, "v": 2}, {"u": 7, "v": 2}, {"u": 8, "v": 3}, {"u": 9, "v": 3}, {"u": 10, "v": 4}, {"u": 11, "v": 4}, {"u": 12, "v": 5}, {"u": 13, "v": 5}, {"u": 6, "v": 7}, {"u": 8, "v": 9}, {"u": 10, "v": 11}, {"u": 12, "v": 13}]}

@fgypas
Copy link
Member Author

fgypas commented Sep 1, 2020

@gntalaperas Any progress with the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python
Projects
None yet
Development

No branches or pull requests

3 participants