'make_fastqs': enable R1/R2 read truncation to be specified on command line #964
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.
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 toy59n48,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
andmirna
protocols.This PR close #884.