Skip to content

Fix unique lanes for freebayes, groupKey, add new indices, copy meta maps#549

Merged
FriederikeHanssen merged 39 commits intonf-core:devfrom
FriederikeHanssen:freebayes
May 23, 2022
Merged

Fix unique lanes for freebayes, groupKey, add new indices, copy meta maps#549
FriederikeHanssen merged 39 commits intonf-core:devfrom
FriederikeHanssen:freebayes

Conversation

@FriederikeHanssen
Copy link
Copy Markdown
Contributor

@FriederikeHanssen FriederikeHanssen commented May 16, 2022

Closes #311
closes #340 & #542

This PR got quite big now:

  • Fixes Freebayes unique lanes issue
  • Adds PON & dragmap to the igenomes.config; indices for both + bwamem2 are now also available on igenomes
  • Fix groupKey: actually using it for grouping
  • Copy all the meta maps and not just clone. more people raninto this weird issue: https://nfcore.slack.com/archives/C027CM7P08M/p1644241819942339
  • Add freebayes tests that work with the CI

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
    • If you've added a new tool - add to the software_versions process and a regex to scrape_software_versions.py
    • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
    • If necessary, also make a PR on the nf-core/sarek branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint .).
  • Ensure the test suite passes (nextflow run . -profile test,docker).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@FriederikeHanssen
Copy link
Copy Markdown
Contributor Author

This is ready for review from my POV. There is some un-used code in there at the moment. I would leave it until we ultimately decided on something and remove before merge.

@FriederikeHanssen FriederikeHanssen marked this pull request as ready for review May 18, 2022 13:34
@FriederikeHanssen
Copy link
Copy Markdown
Contributor Author

This is ready for review from my POV. There is some un-used code in there at the moment. I would leave it until we ultimately decided on something and remove before merge.

Alright, actually got the flowcell code to work.

Comment thread modules.json
},
"gatk4/markduplicates": {
"git_sha": "169b2b96c1167f89ab07127b7057c1d90a6996c7"
"git_sha": "df2620cfc7e4c21b14ed03c1c928f09fbabf83c4"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

was that expected to be different?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yeah module update. Someone changed the default ressource usage, which makes sense IMO

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

right, i see 👍

patient,gender,status,sample,lane,fastq_1,fastq_2
test,XX,0,test,test_L1,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/homo_sapiens/illumina/fastq/test_1.fastq.gz,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/homo_sapiens/illumina/fastq/test_2.fastq.gz
test,XX,1,test2,test2_L1,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/homo_sapiens/illumina/fastq/test2_1.fastq.gz,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/homo_sapiens/illumina/fastq/test2_2.fastq.gz
test,XX,1,test2,test_L1,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/homo_sapiens/illumina/fastq/test2_1.fastq.gz,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/homo_sapiens/illumina/fastq/test2_2.fastq.gz
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

could you please explain why this was changed to test rather than test2?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Because the test_paired.csv was updated to have the same lane ID for both samples. That way I can test that the feature fixed in this PR is actually fixed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

okay great!

Copy link
Copy Markdown
Contributor

@SusiJo SusiJo left a comment

Choose a reason for hiding this comment

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

@FriederikeHanssen LGTM as far as i can tell 👍

@FriederikeHanssen
Copy link
Copy Markdown
Contributor Author

Vielen Dank 😊

@FriederikeHanssen FriederikeHanssen changed the title Fix unique lanes issue Fix unique lanes for freebayes, groupKey, add new indices, copy al meta maps May 23, 2022
@FriederikeHanssen FriederikeHanssen changed the title Fix unique lanes for freebayes, groupKey, add new indices, copy al meta maps Fix unique lanes for freebayes, groupKey, add new indices, copy meta maps May 23, 2022
Copy link
Copy Markdown
Member

@maxulysse maxulysse left a comment

Choose a reason for hiding this comment

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

👍

Comment thread workflows/sarek.nf Outdated
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.

3 participants