Difference between revisions of "Parameter file elements"
Jump to navigation
Jump to search
Line 145: | Line 145: | ||
|} | |} | ||
*nominated-compulsory elements | *nominated-compulsory elements | ||
==<''genotype name''>== | |||
{| class="wikitable" | |||
|Example | |||
|host | |||
|type | |||
|purpose | |||
|- | |||
|<syntaxhighlight lang="xml" line> | |||
<root> | |||
.. | |||
<genotypes> | |||
genotypes: mygn | |||
.. | |||
<mygn> | |||
file: genotypes.txt | |||
pedigree: myped | |||
cross: crossref.csv | |||
</mygn> | |||
.. | |||
</genotypes> | |||
</root> | |||
</syntaxhighlight> | |||
|'''genotypes''' | |||
|nominated-compulsory | |||
|hosts information about a specific set of genotypes identified by ''genotype name'' | |||
|} | |||
content: | |||
*key strings | |||
{| class="wikitable" | |||
|word | |||
|example | |||
|type | |||
|variable type | |||
|variable values | |||
|default | |||
|explanation | |||
|- | |||
|'''file''' | |||
|'''file''': ''genotype.txt'' | |||
|compulsory | |||
|word | |||
|''file name'' | |||
|none | |||
|content determines the name of the file containing the genotypes | |||
|- | |||
|'''cross''' | |||
|'''cross''': ''mycross.csv'' | |||
|optional | |||
|word | |||
|''file name'' | |||
|none | |||
|content determines the name of the file containing the pedigree ids related to the genotypes | |||
|- | |||
|'''pedigree''' | |||
|'''pedigree''': ''myped'' | |||
|optional | |||
|word | |||
|''pedigree name'' | |||
|none | |||
|content determines the name of a pedigree previously invoked pedigree related to the content of the cross-reference file | |||
|} | |||
=<'''grms'''>= | =<'''grms'''>= |
Revision as of 12:14, 3 January 2021
<pedigrees>
Example | host | type | purpose |
<root>
..
<pedigrees>
pedigrees: a,b
...
</pedigrees>
</root> |
root | automatic-optional | hosts one to several elements each containing information about a specific pedigree |
content:
- key strings
word | example | type | variable type | variable values | default | explanation |
pedigrees | pedigrees: a,b | compulsory | csv word-list | pedigree names | none | list content determines names of nominated-compulsory elements |
- nominated-compulsory elements
<pedigree name>
Example | host | type | purpose |
<root>
..
<pedigrees>
pedigrees: myped
..
<myped>
file: myped.csv
switch: selfing
phantomparents: 2
</myped>
..
</pedigrees>
</root> |
pedigrees | nominated-compulsory | hosts information about a specific pedigree identified by pedigree name |
content:
- key strings
word | example | type | variable type | variable values | default | explanation |
file | file: myped.csv | compulsory | word | file name | none | list content determines the name of the file containing the pedigree |
switch | switch: selfing | optional | csv-word-list | selfing,probabilistic | none | list content determines pedigree properties.
|
phantomparents | phantomparents: 2 | optional | single numeric value | positive integer | none | integer number determines the number of individuals at the top of the pedigree which are phantom parents |
<genotypes>
Example | host | type | purpose |
<root>
..
<genotypes>
genotypes: a,b
...
</genotypes>
</root> |
root | automatic-optional | hosts one to several elements each containing information about a specific set of genotypes |
content:
- key strings
word | example | type | variable type | variable values | default | explanation |
genotypes | genotypes: a,b | compulsory | csv word-list | genotype names | none | list content determines names of nominated-compulsory elements |
- nominated-compulsory elements
<genotype name>
Example | host | type | purpose |
<root>
..
<genotypes>
genotypes: mygn
..
<mygn>
file: genotypes.txt
pedigree: myped
cross: crossref.csv
</mygn>
..
</genotypes>
</root> |
genotypes | nominated-compulsory | hosts information about a specific set of genotypes identified by genotype name |
content:
- key strings
word | example | type | variable type | variable values | default | explanation |
file | file: genotype.txt | compulsory | word | file name | none | content determines the name of the file containing the genotypes |
cross | cross: mycross.csv | optional | word | file name | none | content determines the name of the file containing the pedigree ids related to the genotypes |
pedigree | pedigree: myped | optional | word | pedigree name | none | content determines the name of a pedigree previously invoked pedigree related to the content of the cross-reference file |
<grms>
<model>
<eqn>
<poly>
<jobs>
Example:
<root>
..
<jobs>
jobs: solve,yh
...
</jobs>
</root>
host: root
content:
- key strings
example | type | variable type | variable values | default | explanation |
jobs: solve,yh | compulsory | csv word-list | solve,sample,pevsample,mcemreml,yh | none | job sequence is determined by the list sequence. list content determines nominated-compulsory elements |
- nominated-compulsory elements
<solve>
Example:
<root>
..
<jobs>
..
<solve>
solver: mysolver
</solve>
..
</jobs>
..
</root>
host: jobs
content:
- key strings
example | type | variable type | variable values | default | explanation |
solver: mysolver | compulsory | word | solver name | none | solver name must be the name of a previously defined solver |
<sample>
<pevsample>
<mcemreml>
<yh>
<samplers>
<sampler name>
<solvers>
- host: root
<solver name>
- host: solvers
- hosts mutually exclusive elements of which hard-coded names define the solver type
<pcgiod>
- host: solver name
- defines the solver is an iteration-on-data preconditioned gradient solver
element name | element type | host element | hosts elements | element function | key string key word | key string variable | key string function | key string type |
---|---|---|---|---|---|---|---|---|
pedigrees | Automatic-optional | root | yes | host elements of specific pedigrees | pedigrees | pedigree names | nominates further elements | compulsory |
pedigree name | Nominated-compulsory | pedigrees | no | host information about a specific pedigree | file | pedigree file name | provides pedigree file name | compulsory |
switch | probabilistic | pedigree is probabilistic | optional | |||||
selfing | pedigree contains selfing | |||||||
phantomparents | integer | provides the number of individuals at the top of the pedigree which are phantom parents | optional |