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

🔧 Fix FASTQ Bug #58

Merged
merged 4 commits into from
Nov 8, 2024
Merged

🔧 Fix FASTQ Bug #58

merged 4 commits into from
Nov 8, 2024

Conversation

migbro
Copy link
Member

@migbro migbro commented Nov 4, 2024

Description

A recent update to add a scatter job of cutadapt to fix lengths of inputs introduced a bug in which if a user does not provide lengths to fix, the workflow does not pass the correct input to STAR causing failure. This replaces pickValue with a valueFrom to better asses a [null, null] evaluation. Als,o more for added functionality, is the read group name input in the rare event a user wants to keep the bam output

Fixes # https://d3b.atlassian.net/browse/BIXU-3795

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

  • Environment:
  • Test files:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
  • I have committed any related changes to the PR

📝 added guidance for mulitple RGs
@migbro migbro added bug Something isn't working documentation Regarding developer or user documentation feature New functionality bix-dev labels Nov 4, 2024
@migbro migbro self-assigned this Nov 4, 2024
Copy link
Contributor

@dmiller15 dmiller15 left a comment

Choose a reason for hiding this comment

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

Mostly good, but I think we should do one more quick enhancement while we're looking at this.

@@ -31,7 +31,8 @@ They can also be obtained from the following sources:
- `r2_max_len`: Set read2 to a fixed length. Useful for single cell experiments in which the number of cycles was improperly configured during sequencing. Recommend `91` for 10X v3 chemistry

### STAR Solo
- `outSAMattrRGline`: Set if outputting bam, with TABS SEPARATING THE TAGS, format is: ID:sample_name LB:aliquot_id PL:platform SM:BSID for example ID:7316-242 LB:750189 PL:ILLUMINA SM:BS_W72364MN
- `outSAMattrRGline`: Set if outputting bam, with TABS SEPARATING THE TAGS, format is: ID:sample_name LB:aliquot_id PL:platform SM:BSID for example `ID:HFWFVDMXX.L001 LB:750189 PL:ILLUMINA SM:BS_W72364MN`. If more than one fastq pair in input, it is recommended to have one read group per pair, separated by space-comma-space (` , `)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should make this a list input since BixOps seems to prefer that approach.

Copy link
Member Author

Choose a reason for hiding this comment

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

@migbro migbro requested a review from dmiller15 November 7, 2024 19:11
@migbro migbro merged commit 8c1d231 into master Nov 8, 2024
1 check passed
@migbro migbro deleted the feature/mb-fix-fastq branch November 8, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bix-dev bug Something isn't working documentation Regarding developer or user documentation feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants