Skip to content

Automatically assign an unknown sample to project OTHER #22

@mihuber

Description

@mihuber

If in the sample sheet an entry for the Sample_Project is not matching our predefined values Antibodies/Metagenomics/Plasmids/Resistance/Other, it should automatically be assigned to the project Other.

See lines 412 to 437 in DMS/openBIS/SampleSheet2openBIS.sh.

    ### [Data] section values
    elif [[ $section == "[Data]" && ${line[1]} && $s -gt 0 ]]
    then

        write_miseq_sample line[@]

        case ${line[8]} in
          Antibodies)
            anti_sample=true
            ;;
          Metagenomics)
            meta_sample=true
            ;;
          Other)
            other_sample=true
            ;;
          Plasmids)
            plasm_sample=true
            ;;
          Resistance)
            res_sample=true
            write_resistance_test line[@]
            ;;
          esac
        ((s+=1))
    fi

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions