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

Feature hic scaffolding #123

Merged
merged 85 commits into from
Nov 25, 2024
Merged

Feature hic scaffolding #123

merged 85 commits into from
Nov 25, 2024

Conversation

mahesh-panchal
Copy link
Collaborator

@mahesh-panchal mahesh-panchal commented Sep 10, 2024

  • Adds Pixi development environment
  • Add Scaffolding Pipeline.

mahesh-panchal and others added 25 commits September 10, 2024 15:07
…rtools

Feature hic scaffolding - pairtools + yahs subworkflow
* Initialise nf-test

* Remove defunct tests

* Add test data provenance README

* Update docker settings

* Docker as default profile

* Add Tiny CI test yaml

* Update test config

* Update pairtools patch

* Update gitignore

* Comment out cpus

* Add Resume to test config

* Fix intermittent null object issue with LazyMap

* Move around resource configurations

* Improve process tags

* Clean up resource allocation

* Add config README

* Fix pairtools parse cpu allocation

* Update tests/data/tiny/README.md

---------

Co-authored-by: Martin Pippel <[email protected]>
* Update pairtools patch

* Move and clean up resource configurations

* Sketch out prototype

* Move Groovy things inside workflow

* Add mamba for conda development when container doesn't exist

* Add debug profile

* Add GenomeScope2 plots

* Update assets/notebooks/assembly_report.qmd

Co-authored-by: Martin Pippel <[email protected]>

* Add Pixi tasks to toml

* Add container to Quarto notebook

* Update report qmd

* Add dev task

* Add pandas to quarto env

* Change debug flag name to diagnostics

* Update report

* Transpose DToL table

* Add more tables and plots

* Add KatComp

* Add HiFiasm Kmer graph

* Add Quast

* Add Merqury{,FK} figures and tables

* Add Purgedups plot

* Add Pairtools plots

---------

Co-authored-by: Martin Pippel <[email protected]>
configs/modules.config Outdated Show resolved Hide resolved
configs/modules.config Outdated Show resolved Hide resolved
configs/modules.config Outdated Show resolved Hide resolved
configs/test.config Outdated Show resolved Hide resolved
modules/local/hic_curation/bam2coverageTracks.nf Outdated Show resolved Hide resolved
modules/local/hic_curation/create_chromosome_sizes.nf Outdated Show resolved Hide resolved
@mahesh-panchal
Copy link
Collaborator Author

Oh, and since I'm the one making the PR, you're the one who needs to approve so we can merge.

@mahesh-panchal mahesh-panchal marked this pull request as ready for review November 7, 2024 15:01
@mahesh-panchal
Copy link
Collaborator Author

My apologies for adding more commits, but I addressed my earlier comments, and fixed the report ( I hope ).
Hopefully you can then focus on the final fixes you want to make.

…, add ugly grep hack to avoid samtools header issue
@mahesh-panchal
Copy link
Collaborator Author

Bah, Bird plots look messed up after "fixing" the notebook. Need to check again.

Copy link
Contributor

@MartinPippel MartinPippel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pipeline runs through now and creates reasonable maps. Therefore we should merge it now into the main branch.
The wasp was not a good test case as the HiC maps also look odd in the DTOL publication https://wellcomeopenresearch.org/articles/8-461
We should quickly add more features:

  • create multiple pretext-maps with different mapQV thresholds - and with/without demultiplexing
  • add more statistics about HiC quality
  • move the mapping parts (from scaffolding and map creation) into own subworkflows

@mahesh-panchal
Copy link
Collaborator Author

OK. Agreed. Can you select a better full scale test then than the wasp?

I'll work on fixing the scaffolding merqury plot though to start in a new PR.

@mahesh-panchal mahesh-panchal merged commit f45b881 into main Nov 25, 2024
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

Successfully merging this pull request may close these issues.

2 participants