Skip to content

Data naming convention helper method #15

@davmlaw

Description

@davmlaw

We are probably going to get rid of this (as we are surrendering full control of data alignment to API but at the moment we need to pass up data naming convention - so that if a new sequencer comes out we know how to handle it.

The SAP caller code has the following - we should probably make a helper library for this

    # Determine sequencer model based on sequencer name patterns
    if sequencer.startswith("M"):
        model_name = "MiSeq"
        manufacturer = "Illumina"
        data_naming_convention = "M"
    elif sequencer.startswith("H"):
        model_name = "HiSeq"
        manufacturer = "Illumina"
        data_naming_convention = "H"
    elif sequencer.startswith("NB") or sequencer.startswith("NS"):
        model_name = "NextSeq"
        manufacturer = "Illumina" 
        data_naming_convention = "M"
    elif sequencer.startswith("A"):  
        model_name = "NovaSeq 6000"
        manufacturer = "Illumina"
        data_naming_convention = "M"
    elif sequencer.startswith("LH"):
        model_name = 'NovaSeq X'
        manufacturer = 'Illumina'
        data_naming_convention = 'M'
    else:
        # Default fallback
        model_name = "Unknown"
        manufacturer = "Illumina"
        data_naming_convention = "U"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions