-
Notifications
You must be signed in to change notification settings - Fork 122
Rework trimming #674
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
Merged
Merged
Rework trimming #674
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
2c9f4b9
add trim_tail_fusioncatcher
rannick 6690c15
add fusioncatcher_trim option
rannick a7da82c
add fusioncatcher_trim
rannick 8760176
add fusioncatcher_trim
rannick 7c2415d
Merge branch 'dev' into rework_trimming
rannick 8ab02d8
add publish
rannick ea8f180
Merge branch 'rework_trimming' of https://github.com/nf-core/rnafusio…
rannick 680e03d
add differentiating prefix
rannick f630a2b
try changing the condition
rannick 77b1073
update memory
rannick 8fc4ad9
change trim condition
rannick 25b700b
link memory usage with task.memory
rannick c8a1471
update changelog
rannick ee255df
update contributors
rannick 867f97e
reshuffle memory allocation
rannick e0d9840
reshuffle memory allocation
rannick 2f0bc73
reshuffle memory allocation
rannick 8b3dd01
update module
rannick c0c95dd
prettier
rannick 732ebdd
update documentation
rannick f0c0108
Update docs/output.md
rannick b6e4c6b
use trim_tail default as 0
rannick 04c6f75
update test
rannick b31306e
Merge branch 'rework_trimming' of https://github.com/nf-core/rnafusio…
rannick eb34f1a
remove fusioncatcher_trim, just use trim_tail_fusioncatcher
rannick 5f4ce10
prettier
rannick 728015e
update tests and fix issues
rannick 2ab557d
update readme
rannick 34f2e78
formatting
rannick fd23d01
add test config
rannick 3924b81
update snapshot
rannick ddd90b4
update snap
rannick fcb7f2d
Update docs/output.md
rannick 55cdff2
Update workflows/rnafusion.nf
rannick 997e3e1
update snap
rannick 7243df2
update snap
rannick 3bf196c
update snap
rannick 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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
53 changes: 53 additions & 0 deletions
53
subworkflows/local/fusioncatcher_workflow/tests/main.nf.test
This file contains hidden or 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,53 @@ | ||
| nextflow_workflow { | ||
|
|
||
| name "Test Subworkflow FUSIONCATCHER_WORKFLOW" | ||
| script "../main.nf" | ||
| workflow "FUSIONCATCHER_WORKFLOW" | ||
|
|
||
| tag "subworkflow" | ||
| tag "fusioncatcher_workflow" | ||
| tag "fusioncatcher" | ||
|
|
||
| test("FUSIONCATCHER_WORKFLOW - Stub") { | ||
| options "-stub" | ||
|
|
||
| when { | ||
| workflow { | ||
| """ | ||
| // Input channels | ||
| input[0] = Channel.of( | ||
| [ [ id:'test_sample' ], | ||
| file("https://github.com/nf-core/test-datasets/raw/rnafusion/testdata/human/reads_1.fq.gz"), | ||
| file("https://github.com/nf-core/test-datasets/raw/rnafusion/testdata/human/reads_2.fq.gz") ] | ||
| ) | ||
|
|
||
| input[1] = true | ||
|
|
||
| input[2] = [] | ||
|
|
||
| input[3] = [ | ||
| [ id:'fusioncatcher_ref' ], | ||
| [] | ||
| ] | ||
|
|
||
| input[4] = [] | ||
|
|
||
| """ | ||
| } | ||
| params { | ||
| tools = 'fusioncatcher' | ||
| trim_tail_fusioncatcher = 50 | ||
| outdir = "$outputDir" | ||
| } | ||
| } | ||
|
|
||
| then { | ||
| assertAll( | ||
| { assert workflow.success }, | ||
| { assert snapshot( | ||
| workflow.out.versions | ||
| ).match() } | ||
| ) | ||
| } | ||
| } | ||
| } |
15 changes: 15 additions & 0 deletions
15
subworkflows/local/fusioncatcher_workflow/tests/main.nf.test.snap
This file contains hidden or 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,15 @@ | ||
| { | ||
| "FUSIONCATCHER_WORKFLOW - Stub": { | ||
| "content": [ | ||
| [ | ||
| "versions.yml:md5,24a191a82bb19899f88f6493ad4f1b8c", | ||
| "versions.yml:md5,aeee6dd3b4dcf4cb11af80dfa0a7bf72" | ||
| ] | ||
| ], | ||
| "meta": { | ||
| "nf-test": "0.9.2", | ||
| "nextflow": "25.04.2" | ||
| }, | ||
| "timestamp": "2025-06-13T16:36:48.833043" | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.