×

nf-core/pharmcat/phenotyper @ 0.0.0-0c7146d

The PharmCAT Phenotyper is a core module of the Pharmacogenomics Clinical Annotation Tool that translates patient diplotypes into specific, actionable metabolizer phenotypes (e.g., Poor Metabolizer). It operates by analyzing the JSON output from the Named Allele Matcher, mapping these results to established clinical guidelines (such as CPIC) to predict drug response.

Latest version: 0.0.0-6c4ed3a
Total downloads: 8
Source: nf-core/modules
Authors: @ramsainanduri
Maintainers: @ramsainanduri

Summary

The PharmCAT Phenotyper is a core module of the Pharmacogenomics Clinical Annotation Tool that translates patient diplotypes into specific, actionable metabolizer phenotypes (e.g., Poor Metabolizer). It operates by analyzing the JSON output from the Named Allele Matcher, mapping these results to established clinical guidelines (such as CPIC) to predict drug response.

Get started

Add the following snippet to your workflow script to include this module.

include { PHARMCAT_PHENOTYPER } from 'nf-core/pharmcat/phenotyper'

License

MIT License

Process
Name PHARMCAT_PHENOTYPER
Input 1 channel
#1 tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', name:'test_sample' ]

match_json file

The Json output from the matcher module of pharmcat

*.json
outside_match_tsv file

Tab seperated file containing diplotypes calls from other callers

*.tsv
Output 2 channels
#1 phenotyper_json tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', name:'test_sample' ]

*.phenotype.json file

Json output from the phenotyper module of PharmCAT

*.phenotype.json
#2 versions_pharmcat tuple
${task.process} string

The name of the process

pharmcat string

The name of the tool

pharmcat --version | cut -f2 -d ' ' eval

The expression to obtain the version of the tool

Tool Description Homepage
pharmcat "PharmCAT (Pharmacogenomics Clinical Annotation Tool) is a bioinformatics tool that analyzes genetic variants to predict drug response and tailor medical treatment to an individual patient’s genetic profile." https://pharmcat.clinpgx.org/
Version 0.0.0-0c7146d
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 08 Apr 2026 19:25:06 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fpharmcat%2Fphenotyper/0.0.0-0c7146d/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/pharmcat/phenotyper/blobs/sha256:4fbe2afaa716fbf4a63182261114c7f79063cbe4899c98781926557850a599c2
Size 3.0 KB
Checksum sha256:4fbe2afaa716fbf4a63182261114c7f79063cbe4899c98781926557850a599c2
Downloads 3
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:35:40 (UTC) 3 3.0 KB
0.0.0-5d5b444 21 Apr 2026 15:01:13 (UTC) 2 3.1 KB
0.0.0-0c7146d 08 Apr 2026 19:25:06 (UTC) 3 3.0 KB