Fix copy-pasted UMI help text on paired-guide --pg-* options (#22) - #24
Merged
Conversation
The count help for --pg-start/--pg-end/--pg-start-2/--pg-end-2 was copied verbatim from the UMI options: it read "position of UMI ... if UMI is found on the first/second pair" and its examples referenced --umi-start/--umi-end, implying a UMI is required for paired-guide counting. It is not. Rewrite the four strings to describe the second guide and the correct coordinate reference for each mode: --pg-start/--pg-end are measured from the end of the first guide (--pairguide firstpair), and --pg-start-2/--pg-end-2 from the first nucleotide of read 2 (--pairguide secondpair), matching the actual slices in mageckcount_processonefile. Also correct --pg-min-read help, which said "Default 2" while the default is 3. Reported in issue #22. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EZcdrQdWJfczuqaMeZ3DBD
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.
Closes #22.
The
counthelp text for the paired-guide options--pg-start,--pg-end,--pg-start-2, and--pg-end-2was accidentally copied verbatim from the UMI options. It read "The relative start/end position of UMI ... if UMI is found on the first/second pair" and its worked examples referenced--umi-start/--umi-end— which reads as though a UMI is required to count paired-guide screens. It is not (reported in #22).What changed
--pg-*help strings to describe the second guide and the correct coordinate reference for each mode, matching the actual code inmageckcount_processonefile:--pg-start/--pg-end— measured from the end of the first guide (--pairguide firstpair); slice isfseq[(end_1st_guide)+pg_start : (end_2nd_guide)+pg_end].--pg-start-2/--pg-end-2— measured from the first nucleotide of read 2 (--pairguide secondpair); slice isfseq1[pg_start_2 : pg_end_2].--pg-min-readhelp, which stated "Default 2" while the actual default is3.Docs-only / help-string change; no behavior change. A companion PR updates the generated
USAGE.mdindavidliwei/mageck2-doc.