-
Notifications
You must be signed in to change notification settings - Fork 74
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
Enable download of files form 10X Genomics experiments #145
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dev -> Master for 1.4 release
Dev -> Master for 1.5 release
Dev -> Master for 1.6 release
Dev -> Master for v1.7 release
Dev -> Master for v1.8 release
Dev -> Master for v1.9 release
maxulysse
reviewed
Apr 25, 2023
Comment on lines
+29
to
+37
fastq = meta.single_end ? '*.fastq.gz' : '*_{1,2,3,4}.fastq.gz' | ||
def outfile = meta.single_end ? "${prefix}.fastq" : prefix | ||
""" | ||
export NCBI_SETTINGS="\$PWD/${ncbi_settings}" | ||
|
||
fasterq-dump \\ | ||
$args \\ | ||
--split-files \\ | ||
--include-technical \\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modules should be modified in nf-core modules, or patched in the pipeline.
how is your PR coming from your |
Hmm, it seems I only have a master branch in my private fork.... |
Will be fixed in #146 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).We have previously opened an issue because, currently,
fetchngs
fails to download data from 10X genomics experiments (#144). The issue in question has a lot more details of what goes wrong, and how to fix it.Changes
In essence, we have changed the following things (for the
PREFETCH_FASTERQDUMP_SRATOOLS
workflow only):--split-files
and--include-technical
tofasterq-dump
Tests
We have carried out tests using single-end as well as paired-end files, both using the ENA (default) and SRATOOLS options; the pipelines and resulting files are all in working order, as before.
For a 10X genomics test dataset, the new version results in 3 output files (see #144 for additional details) using the SRATOOLS route. In ENA mode, only a single bulk (and meaningless) file is produced, as before.
I am afraid I am not able to add any meaningful CI tests (don't really know how to), but maybe you would be able to find a minimal test case that works?
NOTE:
We have not changed anything for the workflow downloading data from the ENA (which is the default of
fetchngs
). The ENA does not serve out read that are marked as 'technical' at all, so all 10X Genomics data will appear as a single FastQ file - which means that the cell-ID and UMI read is missing. Thus, for 10X data you have to force downloads via thesratoolkit
route - or end up with one single, bulk file.Many thanks to @wzheng0520 for figuring this out, and the nf-core community for their constant support!