We are interested in exploring the raw accelerometry data (p90001) from physical activity measurements. This data exists inside 'Bulk' folder within our project as files with '.cwa' file extension. How can we open these '.cwa' files in UK-RAP platform?

Comments

2 comments

  • Comment author
    Anastazie Sedlakova DNAnexus Team

    I would suggest to install accelerometer package using pip in ttyd.

    0
  • Comment author
    Ondrej Klempir DNAnexus Team

    Great tip @Anastazie Sedlakova?, thanks! It worked on my end.

     

    I went ahead and also to have it installed directly in interactive JupyterLab session, I was able to install all the prerequisities from JupyterLab Terminal:

     

    1) updated Python to >3.6 via "conda upgrade python"

    2) installed Java via the following commands --> "apt update", "apt upgrade", "apt install default-jre"

    3) installed accelerometer package via "pip install accelerometer"

     

    Installation can be tested by running:

     

    wget -P data/ http://gas.ndph.ox.ac.uk/aidend/accModels/sample.cwa.gz # download a sample file

    accProcess data/sample.cwa.gz

    accPlot data/sample-timeSeries.csv.gz

     

    https://biobankaccanalysis.readthedocs.io/en/latest/index.html

    0

Please sign in to leave a comment.