-
Notifications
You must be signed in to change notification settings - Fork 5
Subworkflow update #132
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
Closed
Closed
Subworkflow update #132
Changes from 64 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
b0244cd
Update all
DLBPointon dedbff9
Merge branch 'dev' into subworkflow-update
DLBPointon 74b6e81
Update all
DLBPointon ae31750
Update to ensure matching meta
DLBPointon 2455ec8
fix(functions): fn_get_validated_channel should return a channel
prototaxites 75cfe5a
Adding pairs file for the mapping and snapshot of the mapped reads
DLBPointon 7e8d5cb
Update to add the mapping and snapshot
DLBPointon 8d7a447
Modules included by sanger-tol subworkflow
DLBPointon f3fd480
Updating the conf for the new subworkflows
DLBPointon 3dfbfff
updates for the new modules
DLBPointon 7765f50
Update on the modules
DLBPointon 3f3cb47
Update Everything!
DLBPointon 8502ce7
Adding modules
DLBPointon 2ccedd5
Adding modules
DLBPointon 641a9ad
Update prettier linting
DLBPointon 8feb38f
Linting
DLBPointon a4bdcd5
Update for linting
DLBPointon c172550
Update changelog
DLBPointon 758a5fc
Better params use
DLBPointon 3bc9f2d
Update Changelog
DLBPointon e27aeb6
Forgot to change 1 params
DLBPointon b82f53f
Update linting and params and moving before/after text
DLBPointon 5f25939
Update tests
DLBPointon 11ae136
Update tests to remove fake file
DLBPointon 3f56618
Update Changelog and READM
DLBPointon 7864dfe
Update Changelog and README
DLBPointon 850690d
Update Changelog and README
DLBPointon c8ba9b2
Update modules and test-full
DLBPointon 0e2b908
Update CHANGELOG
DLBPointon f9d1328
Add logic note
DLBPointon 4741367
Update tests
DLBPointon 058b5ba
Move to sanger-tol modules
DLBPointon f99e693
Update paths
DLBPointon 456e4a9
Remove and replace images
DLBPointon ac61fcc
Update files
DLBPointon 5cf8b43
Add python re-write of script
DLBPointon aad8b19
Move to Sanger-tol repo
DLBPointon a91674a
Include sanger-tol modules
DLBPointon 136ebe8
Change telomere_windows mem
DLBPointon 0ab27ab
Correcting assignment
DLBPointon 707750e
Forgot to commit the modules.config for new TELOMERE_WINDOWS
DLBPointon d683584
update naming in test snapshot
DLBPointon f3e695c
update naming in test snapshot
DLBPointon 2d4ec2f
Replace local/telo_finder with sanger-tol/telo_finder
DLBPointon aa15733
Adding sanger-tol/telomere_extract
DLBPointon d0c6a81
Update telomere modules
DLBPointon 8360194
Update to subworkflow to validate output of telo_finder
DLBPointon 593fdbf
Update workflow to move align_cram into if else statement
DLBPointon e47c132
Update tests for new modules/subworkflows and file outputs
DLBPointon 25a8ea1
change pre_mapped to pre_mapped_bam
DLBPointon ec543ea
change pre_mapped to pre_mapped_bam and remove cram from required
DLBPointon b5d6fd8
Update
DLBPointon 5ff9cb0
change pre_mapped to pre_mapped_bam
DLBPointon dcc014a
Again changed the align_cram section to support mapped_reads
DLBPointon 7b25e61
Added warnings for params and field for mapped reads
DLBPointon 7ecbd16
Add bam to file exclusion
DLBPointon 911e06e
Update image
DLBPointon 5828a83
Update all to remove quotes, support pre_mapped_bam and update conf f…
DLBPointon b3b765c
Linting!
DLBPointon 751e695
Update logic to kill pipeline if both pre_mapped and cram
DLBPointon 024cfde
Update based on comments
DLBPointon 6a78b7a
Update expected values
DLBPointon 3f13976
Change schema for the mapped bam file input
DLBPointon d35429f
Fix from PR
DLBPointon 7d281fc
Update comment
DLBPointon a8eaba9
Add sanger-tol gap_finder
DLBPointon ea681da
Update accessory file subworkflow to use sanger-tol subworkflow
DLBPointon 45e9761
Update files
DLBPointon 4515561
Update to modules for gap_finder
DLBPointon 96c8cde
Update for gap_finder
DLBPointon e4196de
REVERT
DLBPointon aa8f9ec
Revert the revert from the revert to fix the issue from gap_finder
DLBPointon 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,4 +48,4 @@ template: | |
| - seqera_platform | ||
| - multiqc | ||
| - rocrate | ||
| version: 1.5.1 | ||
| version: 1.6.0 | ||
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 was deleted.
Oops, something went wrong.
This file was deleted.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| #!/usr/bin/env python3 | ||
|
|
||
| """ | ||
| A rewrite of the extract_repeat.pl (PERL) script. | ||
| Original script written by: Yumi Sims (yy5) | ||
| Rewritten by: Damon-Lee Pointon (dp24) | ||
|
|
||
| Move through repeats file, line by line, and extract repeat information. | ||
| """ | ||
|
|
||
| import re | ||
| import sys | ||
|
|
||
| def main() -> None: | ||
| if len(sys.argv) < 2: | ||
| sys.exit("Usage: extract_repeat.py <file>") | ||
|
|
||
| file_path = sys.argv[1] | ||
| last = None | ||
|
|
||
| with open(file_path, "r", encoding="utf-8") as fh: | ||
| for line in fh: | ||
| line = line.rstrip("\n") | ||
| matched = re.match(r">(\S+)", line) | ||
| if matched: | ||
| last = matched.group(1) | ||
| continue | ||
|
|
||
| matched = re.match(r"(\d+)\s+-\s+(\d+)", line) | ||
| if matched: | ||
| print(f"{last}\t{matched.group(1)}\t{matched.group(2)}") | ||
| continue | ||
|
|
||
| sys.exit(f"Error --> {line}") | ||
|
|
||
| if __name__ == "__main__": | ||
| main() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.