Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GOSe-6mo-imputation
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Kevin Kunzmann
GOSe-6mo-imputation
Commits
69402f25
Commit
69402f25
authored
Apr 15, 2019
by
Kevin Kunzmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
4f3f088d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
1 deletion
+43
-1
README.md
README.md
+43
-1
No files found.
README.md
View file @
69402f25
# GOSe-6mo-imputation
# GOSe 6mo imputation for CENTER-TBI
This repository contains the code for imputing the 6 months GOSe using
a multi-state model in CENTER-TBI.
The workflow is completely automated using snakemake and a singularity
container with the required dependencies is awailable at
[
zenodo.org
](
https://zenodo.org/record/2641122
)
(DOI: 10.5281/zenodo.2641122).
Singularity >= 2.6.0 is required to run the code in a container, alternatively
the dependencies can be installed manually (check the
`container-recipe`
file).
To get startet, download the code and
`cd`
in the repository folder
```
bash
git clone https://git.center-tbi.eu/kunzmann/gose-6mo-imputation-production.git
cd
gose-6mo-imputation-production
```
Next, download the pre-build container image from zenodo.org via the
provided script
```
bash
./scripts/download-container
```
This will download the
`container.sif`
file (~1Gb) in the current working
directory.
An automated download script via the Neurobot-API is provided but require
that the Neurobot username and API token are available as environment variables
```
bash
export
NEUROBOT_USR
=[
your-neurobot-username]
export
NEUROBOT_API
=[
your-neurobot-api-token]
```
The required data set (for version 1.2 on the Neurobot staging server) can
then automatically be downloaded via
```
bash
singularity
exec
container.sif snakemake download
```
Alternatively, a .csv file with the correct column names / ordering can
directly be places in the
`data`
subfolder (see
`scripts/check-inputs`
for
detailed specification).
The imputation can then be started by invoking
```
bash
singularity
exec
container.sif snakemake impute
```
This produces a .html and a .csv file with imputed values in the subfolder
`output`
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment