Thanks to visit codestin.com
Credit goes to github.com

Skip to content

nf-co2footprint - Add plugin parameters to institutional configs #966

@JosuaCarl

Description

@JosuaCarl

We’ll help you add the nf-co2footprint plugin parameters to your institutional or machine-specific configs and, if you know it, include your personal market-based carbon intensity (CI) value. For details, see the market-based CI section of the documentation.

Example:

co2footprint {

  // File parameters
  String co2Timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
  traceFile   = "${params.outdir}/pipeline_info/co2footprint_trace_${co2Timestamp}.txt"
  reportFile  = "${params.outdir}/pipeline_info/co2footprint_report_${co2Timestamp}.html"
  summaryFile = "${params.outdir}/pipeline_info/co2footprint_summary_${co2Timestamp}.txt"

  // Carbon parameters
  emApiKey    = secrets.EM_API_KEY
  location    = <YOUR LOCATION>
  pue         = <YOUR PUE>
  ciMarket = <YOUR CI MARKET>
}

See also

nf-core/proposals#72

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions