Skip to content

Assign filtered reads to cluster 0 when writing annotated FastQ file#18

Open
Redmar-van-den-Berg wants to merge 1 commit intojfjlaros:masterfrom
Redmar-van-den-Berg:annotate
Open

Assign filtered reads to cluster 0 when writing annotated FastQ file#18
Redmar-van-den-Berg wants to merge 1 commit intojfjlaros:masterfrom
Redmar-van-den-Berg:annotate

Conversation

@Redmar-van-den-Berg
Copy link
Contributor

Pull Request Details

Make cluster id 0 a special case for reads that could not be clustered, for example because they contain N characters or are too short. Since 0 is reserved, regular clusters start counting from 1.

Breaking Changes

The only changes for the user are that all reads from the input file will be present in the annotated output file (in the same order), and that the cluster id's now start from 1.

Fixes

This fixes an issue where the annotated FastQ output file contains fewer reads than the input file in cases where there are reads which are too short or contain N characters.

This ensures that every read from the input is written to the annotated
output file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant