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

Redefine processing from input BAM files #85

Open
emi80 opened this issue Jun 21, 2024 · 0 comments
Open

Redefine processing from input BAM files #85

emi80 opened this issue Jun 21, 2024 · 0 comments

Comments

@emi80
Copy link
Member

emi80 commented Jun 21, 2024

In the current implementation input BAM files are merged to the alignment files produced by the pipeline mapping step and then used for downstream processing. This approach can pose problems because:

  • merging external BAMs is risky as there is no guarantee that the data has been processed in a consistent way
  • sometime project data is kept for long-term storage in BAM format but we want fully reprocess the data with grape-nf (e.g. re-mapping with a different genome/annotation)

A possible better approach could be based on params.steps and act accordingly:

  • if the mapping step is specified the BAM files should be re-processed
  • if only downstream steps (e.g. quantification) are specified the BAM files are used as-is. An error should be reported If BAM files can be merged

Alternatives might be considered as well...

@emi80 emi80 pinned this issue Jun 25, 2024
@emi80 emi80 changed the title Redifine processing from input BAM files Redefine processing from input BAM files Jun 25, 2024
emi80 added a commit that referenced this issue Sep 20, 2024
emi80 added a commit that referenced this issue Sep 20, 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

No branches or pull requests

1 participant