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: STAR mtx conversion when using GeneFull #135

Merged
merged 3 commits into from
Jul 31, 2022

Conversation

RHReynolds
Copy link
Contributor

@RHReynolds RHReynolds commented Jul 29, 2022

When STAR is run with the flag --soloFeatures GeneFull (permits
counting of exonic and intronic reads), the output is stored in
*.Solo.out/GeneFull/ and not *.Solo.out/Gene. As a result, matrix
conversion results in an error, as matrix, barcodes and features cannot
be found. This error can be fixed by adding an asterisk in the file
path provided to the mtx conversion modules.

Additionally added compression of starsolo outputs, both for storage
purposes and for downstream compatibility with nf-core/scflow (which
requires gzipped outputs similar to cellranger).

PR checklist

  • This comment contains a description of changes (with reason).
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • CHANGELOG.md is updated.

When STAR is run  with the flag `--soloFeatures GeneFull` (permits
counting of exonic and intronic reads), the output is stored in
`*.Solo.out/GeneFull/` and not `*.Solo.out/Gene`. As a result, matrix
conversion results in an error, as matrix, barcodes and features cannot
be found. This error can be fixed by adding an asterisk in the file
path provided to the mtx conversion modules.
@github-actions
Copy link

github-actions bot commented Jul 29, 2022

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit f15d958

+| ✅ 148 tests passed       |+
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • readme - README did not have a Nextflow minimum version badge.

✅ Tests passed:

Run details

  • nf-core/tools version 2.4.1
  • Run at 2022-07-29 17:08:45

@RHReynolds RHReynolds marked this pull request as ready for review July 29, 2022 13:40
Gzipping outputs for file compression and downstream compatibility
with scflow (which requires zipped format, as outputted by cellranger).
Copy link
Contributor

@fmalmeida fmalmeida left a comment

Choose a reason for hiding this comment

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

Looks good to me 😄

@RHReynolds RHReynolds merged commit e106698 into nf-core:dev Jul 31, 2022
@RHReynolds RHReynolds deleted the fix-star-mtx-conversion branch August 9, 2022 14:25
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