| 1 | <molgenis name="impuwise" label="LifeLines Molgenis/Wise integration - Proof of Concept">
|
|---|
| 2 |
|
|---|
| 3 | <module name="system">
|
|---|
| 4 | <description> This package describes basic classes that are used as building
|
|---|
| 5 | blocks for the model.</description>
|
|---|
| 6 |
|
|---|
| 7 | <entity name="DBObject" abstract="true">
|
|---|
| 8 | <description>Essential abstract class containing the primary key</description>
|
|---|
| 9 | <field name="object_id" type="hexa" unique="true" nillable="false"
|
|---|
| 10 | description="Unique identifier (hexadecimal)" />
|
|---|
| 11 | </entity>
|
|---|
| 12 | <entity name="DataObject" implements="DBObject" abstract="false">
|
|---|
| 13 | <description>The entity File provides the basic fields for file classes</description>
|
|---|
| 14 | <field name="globalname" nillable="true" type="varchar" readonly="false"
|
|---|
| 15 | description="The name used to store and retrieve file to and from Storage" />
|
|---|
| 16 | <field name="filename" nillable="true" type="varchar" readonly="false" unique="true"
|
|---|
| 17 | description="The name of the associated file " />
|
|---|
| 18 | </entity>
|
|---|
| 19 | </module>
|
|---|
| 20 |
|
|---|
| 21 | <module name="data">
|
|---|
| 22 |
|
|---|
| 23 | <entity name="ReferenceData" extends="DataObject" abstract="false">
|
|---|
| 24 | <description>Reference data set in Plink/hapmap format (not Beagle format!)</description>
|
|---|
| 25 | <field name="creationdate" type="datetime"/>
|
|---|
| 26 | <field name="name" type="varchar" unique="true"/>
|
|---|
| 27 | <field name="type" type="varchar" />
|
|---|
| 28 | <field name="chromosome" type="varchar" /> <!-- ??? -->
|
|---|
| 29 | </entity>
|
|---|
| 30 |
|
|---|
| 31 | <entity name="OriginalData" extends="DataObject">
|
|---|
| 32 | <description>Original non-imputed data</description>
|
|---|
| 33 | <field name="ingestdate" type="datetime"/>
|
|---|
| 34 | <field name="name" type="varchar" unique="true"/>
|
|---|
| 35 | <field name="version" type="varchar" />
|
|---|
| 36 | <field name="genotypemethod" type="varchar" />
|
|---|
| 37 | <field name="nrchromosomes" type="int" />
|
|---|
| 38 | </entity>
|
|---|
| 39 |
|
|---|
| 40 | <entity name="SplittedOrigData" extends="DataObject">
|
|---|
| 41 | <description>Splitted original non-imputed data</description>
|
|---|
| 42 | <field name="creationdate" type="datetime"/>
|
|---|
| 43 | <field name="name" type="varchar" unique="true"/>
|
|---|
| 44 | <field name="OriginalData" type="xref" xref_entity="OriginalData"
|
|---|
| 45 | xref_label="name" readonly="true" description="Original data source"/>
|
|---|
| 46 | <field name="ReferenceData" type="xref" xref_entity="ReferenceData"
|
|---|
| 47 | xref_label="name" readonly="true" description="Reference data set"/>
|
|---|
| 48 | <field name="chromosome" type="int" />
|
|---|
| 49 | <field name="batch" type="int" />
|
|---|
| 50 | <field name="steps" type="mref" xref_entity="ExecutableStep"
|
|---|
| 51 | xref_label="name" readonly="true" description="Executable steps"/>
|
|---|
| 52 | </entity>
|
|---|
| 53 |
|
|---|
| 54 | <entity name="SplittedOrigDataParameters" implements="DBObject">
|
|---|
| 55 | <description>Parameters for splitting data into batches</description>
|
|---|
| 56 | <field name="batchsize" type="int" default="300"/>
|
|---|
| 57 | </entity>
|
|---|
| 58 |
|
|---|
| 59 | <entity name="SplittedImputedData" extends="DataObject" abstract="false">
|
|---|
| 60 | <description>Imputed splitted data</description>
|
|---|
| 61 | <field name="creationdate" type="datetime"/>
|
|---|
| 62 | <field name="name" type="varchar" unique="true"/>
|
|---|
| 63 | <field name="SplittedOrigData" type="xref" xref_entity="SplittedOrigData"
|
|---|
| 64 | xref_label="name" readonly="true" description="Original data source"/>
|
|---|
| 65 | <field name="ReferenceData" type="xref" xref_entity="ReferenceData"
|
|---|
| 66 | xref_label="name" readonly="true" description="Reference data set"/>
|
|---|
| 67 | <field name="chromosome" type="varchar" />
|
|---|
| 68 | <field name="batch" type="varchar" />
|
|---|
| 69 | </entity>
|
|---|
| 70 |
|
|---|
| 71 | <entity name="ImputedBeagleData" extends="SplittedImputedData">
|
|---|
| 72 | <description>Imputed data from Beagle (splitted)</description>
|
|---|
| 73 | <field name="versionBeagle" type="varchar" />
|
|---|
| 74 | <field name="paramsBeagle" type="xref" xref_entity="BeagleParameters"
|
|---|
| 75 | readonly="true" description="Process Parameters for Beagle"/>
|
|---|
| 76 | <field name="steps" type="mref" xref_entity="ExecutableStep"
|
|---|
| 77 | xref_label="name" readonly="true" description="Executable steps"/>
|
|---|
| 78 | </entity>
|
|---|
| 79 | <entity name="ImputedImputeData" extends="SplittedImputedData">
|
|---|
| 80 | <description>Imputed data from Impute (splitted)</description>
|
|---|
| 81 | <field name="versionImpute" type="varchar" />
|
|---|
| 82 | <field name="paramsImpute" type="xref" xref_entity="ImputeParameters"
|
|---|
| 83 | readonly="true" description="Process Parameters for Impute"/>
|
|---|
| 84 | <field name="steps" type="mref" xref_entity="ExecutableStep"
|
|---|
| 85 | xref_label="name" readonly="true" description="Executable steps"/>
|
|---|
| 86 | </entity>
|
|---|
| 87 |
|
|---|
| 88 | <entity name="ExecutableStep" extends="DataObject">
|
|---|
| 89 | <description>Step to generate an executable script (this is a hack)</description>
|
|---|
| 90 | <field name="name" type="varchar" />
|
|---|
| 91 | <field name="version" type="varchar" />
|
|---|
| 92 | <field name="ordernr" type="int"/>
|
|---|
| 93 | <unique fields="name,version" />
|
|---|
| 94 | </entity>
|
|---|
| 95 |
|
|---|
| 96 | <entity name="CombinedImputedData" extends="DataObject">
|
|---|
| 97 | <description>Combined imputed data</description>
|
|---|
| 98 | <field name="creationdate" type="datetime"/>
|
|---|
| 99 | <field name="SplittedImputedData" type="xref" xref_entity="SplittedImputedData"
|
|---|
| 100 | xref_label="name" readonly="true" description="Imputed splitted data"/>
|
|---|
| 101 | <field name="name" type="varchar" />
|
|---|
| 102 | <field name="version" type="varchar" />
|
|---|
| 103 | <field name="steps" type="mref" xref_entity="ExecutableStep"
|
|---|
| 104 | xref_label="name" readonly="true" description="Executable steps"/>
|
|---|
| 105 | </entity>
|
|---|
| 106 |
|
|---|
| 107 | <entity name="BeagleParameters" implements="DBObject">
|
|---|
| 108 | <description>Parameters for Beagle</description>
|
|---|
| 109 | <field name="missing" type="decimal" default="0"/>
|
|---|
| 110 | </entity>
|
|---|
| 111 | <entity name="ImputeParameters" implements="DBObject">
|
|---|
| 112 | <description>Parameters for Impute</description>
|
|---|
| 113 | </entity>
|
|---|
| 114 |
|
|---|
| 115 | </module>
|
|---|
| 116 |
|
|---|
| 117 | </molgenis> |
|---|