Skip to main content

make_unique_program_id

Function make_unique_program_id 

Source
pub fn make_unique_program_id(header: &Header, base_id: &str) -> String
Expand description

Create a unique program ID by appending .1, .2, etc. if needed.

§Arguments

  • header - The SAM header to check for existing IDs
  • base_id - The base program ID to use (e.g., “fgumi”)

§Returns

A unique program ID, either the base ID or with a numeric suffix.