Implemented RepeatMasker and Liftoff Strategy #84
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.
Description
To allow tostadas to annotate variola and mpox genes implemented a RepeatMasker and Liftoff (cli version) subworkflow. Repeat masker will find the repeat regions and Liftoff will annotate the rest of the features. A concat gff module was also created that runs a python script to concatenate the two gffs into a suitable gff format for Genbank submission. Full list of changes:
Checklist
Go Through Checklist Below and Place A ✔️ (X Inside the Box) if Completed
General Checks
Have you run appropriate tests (unit/integration/end-to-end) to check logic across run environments (Conda/Docker/Singularity on Scicomp/AWS/NF Tower/Local)?
For each relevant configuration:
Have you conducted proper linting procedures?
[] Have you updated existing documentation (README.md, etc.) or created new ones within docs?
CDC Checks
Are additional approvals needed for this change? If so, please mention them below:
Are there potential vulnerabilities or licensing issues with any new dependencies introduced? If so, please mention them below:
Although modules have been configured for submission, submission has not been tested yet. Also, the module expects one gff from each repeat masker and liftoff to concatenate as the cli version of Liftoff doesn't handle multifasta (but repeat masker does).
potential solution to go around this would be to create a sample sheet or incorporate a channel that splits the fasta file, like so
Channel
.fromPath(params.fasta_path)
.splitFasta( record: [id: true, seqString: true ])
.set { ch_fasta }