Closed
Add skip trimming and single-end read support to AutDeNovo pipeline#14
Conversation
capoony
marked this pull request as ready for review
July 16, 2025 13:31
Copilot
AI
changed the title
[WIP] Add skip trimming and single-end support to AutDeNovo_exp.sh as new script
Add skip trimming and single-end read support to AutDeNovo pipeline
Jul 16, 2025
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
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.
This PR implements two major new features for the AutDeNovo pipeline while maintaining full backward compatibility:
New Features
1. Skip Trimming (
SkipTrimming=yes)Allows bypassing the trimming step entirely while maintaining compatibility with downstream processing:
*_val_1.fq.gz,*_val_2.fq.gz)2. Single-End Read Support (
SingleEnd=yes)Processes forward-only reads without requiring reverse reads:
Fwd=is providedSingleEnd=yesImplementation Details
New Script:
AutDeNovo_exp_skiptrim.shAutDeNovo_exp.shUpdated Data Type Detection
The pipeline now recognizes additional data types:
ILL_SE- Single-end Illumina onlyILL_SE_ONT- Single-end Illumina + ONTILL_SE_PB- Single-end Illumina + PacBioILL_SE_ONT_PB- Single-end Illumina + ONT + PacBioModified Downstream Scripts
Updated existing pipeline scripts to handle single-end data:
genomesize.sh: Modified Jellyfish commands for single-end k-mer countingdenovo.sh: Added SPAdes single-end assembly support (-sparameter)mapping.sh: Updated BWA mem commands for single-end alignmentkraken.sh: Added single-end decontamination without--pairedflagEnhanced Validation
Testing
Comprehensive test suite validates:
Usage Examples
Combined Features
# Single-end reads without trimming ./AutDeNovo_exp_skiptrim.sh \ Name=Sample1 \ Fwd=reads.fq.gz \ SkipTrimming=yes \ SingleEnd=yes \ BLASTdb=/path/to/nt \ [other parameters...]Hybrid Assembly
# Single-end Illumina + ONT, skip trimming ./AutDeNovo_exp_skiptrim.sh \ Name=Hybrid \ Fwd=illumina.fq.gz \ ONT=/path/to/ont_reads \ SkipTrimming=yes \ BLASTdb=/path/to/ntDocumentation
README_SkipTrimming.mdwith detailed examples and technical documentationBackward Compatibility
✅ All existing parameter combinations work exactly as before
✅ Original
AutDeNovo_exp.shremains unchanged✅ No breaking changes to existing workflows
Fixes requirements for skip trimming and single-end read support while maintaining the pipeline's robust functionality for genome assembly projects.
This pull request was created as a result of the following prompt from Copilot chat.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.