megaqc.model package

Submodules

megaqc.model.models module

class megaqc.model.models.Dashboard(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

created_at[source]
dashboard_id[source]
data[source]
is_public[source]
modified_at[source]
title[source]
user[source]
user_id[source]
class megaqc.model.models.PlotCategory(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

category_name[source]
config_id[source]
data[source]
plot_category_id[source]
report_id[source]
class megaqc.model.models.PlotConfig(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

config_dataset[source]
config_id[source]
config_name[source]
config_type[source]
data[source]
fav_users[source]
class megaqc.model.models.PlotData(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

config_id[source]
data[source]
plot_category_id[source]
plot_data_id[source]
report_id[source]
sample_id[source]
class megaqc.model.models.PlotFavourite(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

created_at[source]
data[source]
description[source]
plot_favourite_id[source]
plot_type[source]
title[source]
user[source]
user_id[source]
class megaqc.model.models.Report(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

a MultiQC report.

created_at[source]
meta[source]
report_hash[source]
report_id[source]
sample_data[source]
samples[source]
uploaded_at[source]
user[source]
user_id[source]
class megaqc.model.models.ReportMeta(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

classmethod get_keys(session)[source]

Returns all unique metadata keys.

report[source]
report_id[source]
report_meta_id[source]
report_meta_key[source]
report_meta_value[source]
class megaqc.model.models.Sample(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

data[source]
report[source]
report_id[source]
sample_id[source]
sample_name[source]
class megaqc.model.models.SampleData(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

data_type[source]
report[source]
report_id[source]
sample[source]
sample_data_id[source]
sample_data_type_id[source]
sample_id[source]
value[source]
class megaqc.model.models.SampleDataType(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

data_id[source]
data_key[source]
data_section[source]
classmethod get_keys(session)[source]

Returns all unique metadata keys.

nice_name[source]

A more human-readable version of the “key” field.

sample_data[source]
sample_data_type_id[source]
schema[source]

A JSON Schema for validating and describing the data of this type

property schema_json[source]

Gets the schema as JSON.

property type[source]

Gets the root level data type, or None if it doesn’t have one.

class megaqc.model.models.SampleFilter(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

property filter_json[source]
is_public[source]
sample_filter_data[source]
sample_filter_id[source]
sample_filter_name[source]
sample_filter_tag[source]
user[source]
user_id[source]
class megaqc.model.models.Upload(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Model, megaqc.database.CRUDMixin

created_at[source]
message[source]
modified_at[source]
path[source]
status[source]
upload_id[source]
user[source]
user_id[source]

Module contents