#1558 closed enhancement (fixed)

Add support for EPIC v2

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.51
Component: net.sf.basedb.reggie Keywords:
Cc:

Description (last modified by Nicklas Nordborg)

The EPIC methylation chip has come in a new version. The number of probes is different and there are several new probes and also many of the old ones that have been removed. Here is more information https://epicom.biomedcentral.com/articles/10.1186/s43682-023-00021-5

Our analysis depends on two files with metadata: EPIC.hg38.manifest.tsv and EPIC.hg38.mask.tsv. For the new chip version there are new files that should be used. We need to implement support for this in our pipeline so that it is possible to configure different metadata files (in reggie-config.xml) for different chips and to automatically select the correct files when creating the job script.

The current minfi (version 1.44) doesn't work with EPICv2. Execution ends with error message:

Error in .getManifestString(object@annotation) : 
  Cannot get Manifest object for an 'Unknown' array
Calls: preprocessRaw ... getProbeInfo -> getManifest -> getManifest -> .getManifestString
Execution halted
srun: error: cnl15: task 0: Exited with exit code 1

There seems to be a possible solution https://github.com/jokergoo/IlluminaHumanMethylationEPICv2manifest

The container needs to be updated and our R script need some extra code.

Change History (12)

comment:1 by Nicklas Nordborg, 12 months ago

In 7509:

References #1558: Add support for EPIC v2

Changes to reggie-config.xml with configuration settings that depend on the chip type.

comment:2 by Nicklas Nordborg, 12 months ago

In 7510:

References #1558: Add support for EPIC v2

Updated the BeadChipType annotation so it can be used on Methylation derived bioassays.

Renamed the Epic850K to EPICv1 and added EPICv2.

Annotations on existing annotation need to be updated or created manually with batch importers.

comment:3 by Nicklas Nordborg, 12 months ago

In 7511:

References #1558: Add support for EPIC v2

Use the new configuration when starting jobs.

comment:4 by Nicklas Nordborg, 12 months ago

Description: modified (diff)

comment:5 by Nicklas Nordborg, 12 months ago

Description: modified (diff)

comment:6 by Nicklas Nordborg, 11 months ago

In 7512:

References #1558: Add support for EPIC v2

Updated the container definition with additional software that is needed for EPICv2 support.

Minfi has been updated to version 1.48.

comment:7 by Nicklas Nordborg, 11 months ago

In 7513:

References #1558: Add support for EPIC v2

Export the BeadChipType annotation and make it available in the R script.

comment:8 by Nicklas Nordborg, 11 months ago

In 7514:

References #1558: Add support for EPIC v2

Changes to the beta-value script that are related to the EPICv2 support.

  • We need to set annotations on the mIdat object so that they are not 'Unknown'.
  • Columns in the MASK file have different names: Probe_ID instead of probeId and M_general instead of MASK_general.
  • Another big difference is that the mask file only list probes with some kind of filter (about 10%) so the part that filters out masked probes needed a different strategy.

comment:9 by Nicklas Nordborg, 11 months ago

In 7516:

References #1558: Add support for EPIC v2

The BeadChipPosition annotation has been enabled for use on Methylation items.

comment:10 by Nicklas Nordborg, 11 months ago

In 7517:

References #1558: Add support for EPIC v2

Use BeadChipPosition from the Methylation item instead of from the DNA aliquot.

comment:11 by Nicklas Nordborg, 11 months ago

In 7518:

References #1558: Add support for EPIC v2

Updated reggie-config.xml to use the new container.

comment:12 by Nicklas Nordborg, 11 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.