FireCloud is now powered by Terra! -- STARTING MAY 1st, 2019 THIS WEBPAGE WILL NO LONGER BE UPDATED.
From now on, please visit the Terra Help Center for documentation, tutorials, roadmap and feature announcements.
Want to talk to a human? Email the helpdesk, post feature requests or chat with peers in the community forum.
FIRECLOUD | Doc #9648 | Accessing the samples of a participant

Accessing the samples of a participant
Feature Requests | Created 2017-05-24


Comments (5)

It currently isn't possible to access a participant's sample attributes directly, using this.samples.<attribute> This is a significant limitation for analyses across samples (e.g., tissues, cell types) from the same individual. As a workaround, I'm adding sample lists through the API:

{"samples_": {
    "itemsType": "EntityReference",
    "items": [{"entityType": "sample", "entityName": i} for i in participant_sample_ids]
}}

Since this can lead to synchronization problems, it would be great if the participant->samples relationship were implicit in the data model.


Return to top Comment on this article