Skip to content

Clarify filename requirements for --primerTarget (disallow hyphens)#18

Open
couunderbarz wants to merge 1 commit into
Tropini-lab:mainfrom
couunderbarz:doc-primerTarget-no-hyphen
Open

Clarify filename requirements for --primerTarget (disallow hyphens)#18
couunderbarz wants to merge 1 commit into
Tropini-lab:mainfrom
couunderbarz:doc-primerTarget-no-hyphen

Conversation

@couunderbarz
Copy link
Copy Markdown

@couunderbarz couunderbarz commented Jul 24, 2025

This pull request updates the documentation for the --primerTarget option to explicitly state that input filenames must not contain hyphens (-).

I encountered issues when using filenames such as Ecoli-1_cds.fna, which led to incorrect behavior during downstream processing—specifically, the number of unique genes in UniqueGenesPlot.pdf was miscounted.

This appears to be caused by how filenames are parsed using split('-') (e.g., https://github.com/Tropini-lab/PUPpy/blob/main/scripts/puppy-primers#L792C46-L792C58 ), where hyphens in the unique identifier part result in unexpected splitting.

To prevent confusion and misbehavior, this PR clarifies the filename constraints in the CLI help and/or documentation.

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