-
Notifications
You must be signed in to change notification settings - Fork 81
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
dsl2: metagenomics uncollapsed paired end #1098
Open
ilight1542
wants to merge
18
commits into
dev
Choose a base branch
from
metagenomics-pairedend
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ab9a367
partial fix for krakenuniq, error within kraken call for PE (thinks f…
ilight1542 6924787
notes for fixes going forward
ilight1542 376a639
added warning, and correct parsing for input into metagenomic screeni…
ilight1542 d8c8c30
full implementation of paired end metagenomics krakenuniq
ilight1542 b10d16b
updated warn and comments
ilight1542 b8239c7
updated error catching, tested profiling with paired end inputs
ilight1542 a917953
added tags for log, updated warns/errors
ilight1542 49f36d2
samtools fastq map name with all when bamfiltering merging all files …
ilight1542 c38886c
adjusted fastq generation for input into metagenomics - bugfix
ilight1542 0bf439b
reduced unnecssary words
ilight1542 b693741
Merge remote-tracking branch 'origin/dev' into
ilight1542 ed3d93c
removed view and added useful module tag for runtime
ilight1542 a946fca
adjustment needed for krakenuniq
ilight1542 b2ef998
for manual tests
ilight1542 5c77fa8
debugging view commands
ilight1542 9ac4c42
adjusted tag for correct parsing SEvsPE krakenuniq
ilight1542 c1bab1d
removed print statemtns
ilight1542 f0cc46b
Merge remote-tracking branch 'origin/dev' into metagenomics-pairedend
ilight1542 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## investigation notes for updating code to allow for PE inputs into metagenomics profiling (eg for kraken, malt) | ||
|
||
see | ||
https://github.com/nf-core/eager/issues/945 | ||
|
||
current issue is that the reads that go into mapping are not by default extracted as singletons and non-singletons, so we lose that information | ||
Then downstream the inputs into the krakenuniq module (even if split correctly with meta vars) don't have the correct headers to parse the PE nature of the reads (since they have all been concatenated anyways, and just were ORIGINALLY PE) | ||
|
||
So: needs to be fixed up higher (eg in bamfiltering.nf, likely with a new adjustment to the SAMTOOLS_FASTQ_UNMAPPED, SAMTOOLS_FASTQ_MAPPED, and SAMTOOLS_VIEW_BAM_FILTERING modules ) | ||
|
||
ISSUE FOUND: while the outputting of PE reads is OK in bamfiltering.nf (fastq_mapped & fastq_unmapped) when overlap merging is not done cat_fastq weirdly merges singletons to one PE file and other to the other PE file, so then everything gets fucked up | ||
""" | ||
cat input1/JK2782_JK2782_TGGCCGATCAACGA_Mammoth_MT_Krause_unmapped_other.fastq.gz input3/JK2782_JK2782_TGGCCGATCAACGA_Mammoth_MT_Krause_unmapped_1.fastq.gz > JK2782_JK2782_TGGCCGATCAACGA_Mammoth_MT_Krause_1.merged.fastq.gz | ||
cat input2/JK2782_JK2782_TGGCCGATCAACGA_Mammoth_MT_Krause_unmapped_singleton.fastq.gz input4/JK2782_JK2782_TGGCCGATCAACGA_Mammoth_MT_Krause_unmapped_2.fastq.gz > JK2782_JK2782_TGGCCGATCAACGA_Mammoth_MT_Krause_2.merged.fastq.gz | ||
""" | ||
|
||
Decision is needed on what behavior is wanted for unmapped singletons, other. and then likely remove the call to cat_fastq for PE reads | ||
Possibly just split to also have the singletons parsed separately? |
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
5 changes: 5 additions & 0 deletions
5
modules/nf-core/krakenuniq/preloadedkrakenuniq/environment.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
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.
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.
That sounds like a hackathon-thing to do