{% extends "layout.html" %} {% block content %}

MultiQC Configuration

Your identification token

To push data to MegaQC from MultiQC, you need an API authentication token. This needs to be added to the MultiQC configuration. To do this, copy the following to your user MultiQC configuration file in ~/.multiqc_config.yaml:

~/.multiqc_config.yaml
megaqc_url: {{url_for('api.queue_multiqc_data', _external=True)}}
megaqc_access_token: {{current_user.api_token}}

Note that this identification key is specific to you and should not be shared with any other users.

Troubleshooting

If you're having difficulties getting MultiQC to send data, you can test the connection using this command:

Test connection command
curl -H "access_token: {{current_user.api_token}}" -H "Content-Type: application/json" {{url_for('api.test', _external=True)}}

You should get a response that looks like this:

{
"name": "{{current_user.username}}"
}

If the command times out or returns an error, this may indicate a problem with your firewall or connection.

{% endblock %}