Skip to content

Instantly share code, notes, and snippets.

@woemler
Last active May 2, 2017 15:02
Show Gist options
  • Save woemler/838c243302482f33c168ba363ea6f562 to your computer and use it in GitHub Desktop.
Save woemler/838c243302482f33c168ba363ea6f562 to your computer and use it in GitHub Desktop.
Centromere import manifest
### Data Set Manifest Example
displayName: Cancer Cell Line Encyclopedia # The data set display name. Short, but descriptive
shortName: ccle # Data set short name. No whitespace or file system-forbidden characters. Maybe this value could just come from the manifest file name? eg ccle.yaml
source: Borad Institute # Source organization of the data
version: v1 # Version number, if available.
description: Cancer cell line genomic data from the Broad Institute. # General notes or data set description.
attributes: # Dynamic key value attributes. Allows capturing of custom attributes for historical record
source-species: "Homo sapiens"
parameters: # Dynamic key-value attributes. Used for setting application state
skip-invalid-file: true # Would skip files whose import has errors, or cannot be found, rather than halt the import pipeline.
files: # Files are listed here
- path: "/path/to/first/file.txt": # File path. Can be absolute path or path relative to manifest file.
type: samples # Label for the file type. Matches a predetermiend list of data types that determiens parser to be used.
dateCreated: 2016-12-15 # Date the data set was created or last updated, ISO-8601 standard format.
parameters: # Dynamic key value attributes. Allows capturing of custom attributes for historical record, or for use as parameters in apps
default-species: Homo sapiens # When 'species' attribute is not present, use this value as default.
default-*: value
- path: "../path/to/file.gct":
type: gene-expression
parameters:
skip-invalid-gene: true # Would skip records with genes that cannot be identified.
skip-invalid-sample: false # Would halt import when an unknown sample is encountered.
skip-invalid-*: boolean
@nicolasstransky
Copy link

Borad Institute

@woemler
Copy link
Author

woemler commented May 2, 2017

What, you have never heard of the prestigious Borad Institute?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment