Skip to content
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

'make_fastqs': enable R1/R2 read truncation to be specified on command line #964

Merged
merged 7 commits into from
May 1, 2024

Conversation

pjbriggs
Copy link
Member

Updates the make_fastqs command so that R1 and/or R2 reads can be truncated without explicitly specifying the bases mask string (which was how this has been done in the past).

Bases mask can still be specified explicitly, however this PR implements new command line options --r1-length and --r2-length which the command will now use to adjust the default bases mask.

For example, if the default bases mask was y107,I10,I10,y107 but only the first 59 bases of the R1 and R2 sequences were needed, then specifying --r1-length=59 and --r2-length=59 would automatically adjust the masking to y59n48,I10,I10,y59n48 (rather than the user needing to manually work out and specify this themselves).

Note that the options are only applied for the standard and mirna protocols.

This PR close #884.

@pjbriggs pjbriggs merged commit 7435e20 into devel May 1, 2024
7 checks passed
@pjbriggs pjbriggs deleted the make_fastqs-enable-truncate-reads branch May 1, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add options to trim reads in Fastq generation step
1 participant