Skip to content

Instantly share code, notes, and snippets.

View uniqueg's full-sized avatar
🦜

Alex Kanitz uniqueg

🦜
View GitHub Profile
@uniqueg
uniqueg / interop_ro_crate_x_ga4gh.md
Created March 31, 2021 12:36
RO-Crate x GA4GH interoperability

RO-Crate x GA4GH Cloud

The [Reserch Object Crate (RO-Crate)][org-ro-crate] and [Global Alliance for Genomics and Health (GA4GH)][org-ga4gh] communities both propose schemas to represent computational analysis workflows with the [Workflow RO-Crate (WROC)][spec-wroc] and [Tool Registry Service (TRS) API][spec-trs] specifications, respectively.

Apart from the workflows themselves, it is also important to be able to adequately describe individual runs of a workflow, i.e., roughly speaking,

@uniqueg
uniqueg / intro_to_programming_answers.md
Last active December 9, 2021 18:17
Intro to Programming: Follow-up tutorial session Dec 9th

Intro to Programming: Q&A tutorial session, Dec 9th, 2021


13:20:50 From Linnea: I just wanted to ask how we should name the file in our code - so that you dont have to alter it when you take the single tasks. Sequence or seq.fa?

@Linnea: It looks like you are speaking about the input file? It shouldn't matter because we will test your functions individually, not the whole code together. Specifically, we will import your function definitions and pass in whatever inputs we want. It is important though that you use the function definitions exactly in the way that we defined them, do not change the function names or argument names. It is okay to add additional arguments, as long as you provide some defaults for them.

@uniqueg
uniqueg / fasp_input_data.md
Last active September 25, 2020 15:49
Links to and properties of input data for FASP demonstrator at GA4GH Plenary 2020

FASP Demonstrator @ GA4GH Plenary 2020: Input Data

Metadata file

name: thousand_genomes_meta.csv
size: 780047
checksums:
  MD5: 0238926f1ff7d62d7052a432968dd379
  CRC32c: 39BE9FFD
@uniqueg
uniqueg / register_fasp_input_data.md
Last active September 25, 2020 12:23
JSON payload for registering input data for DRS-Filer

FASP Demonstrator @ GA4GH Plenary 2020: Input Data DRS-Filer Payloads

Metadata

AWS

{
  "access_methods": [
    {
@uniqueg
uniqueg / ga4gh_cloud_error_handling.md
Last active May 24, 2020 10:41
Error handling across GA4GH Cloud specs

Error handling across GA4GH Cloud specs

Date: 24-MAY-2020

WES

'400':
  description: The request is malformed.
  schema:
@uniqueg
uniqueg / connexion_errors.md
Last active May 24, 2020 09:25
Custom errors, handlers and corresponding unit tests for Connexion apps
def __handle_task_not_found(exception: Exception) -> Response:
    return Response(
        response=dumps({
            'msg': 'The requested task was not found.',
            'status_code': '404'
            }),
        status=404,
        mimetype="application/problem+json"
    )
@uniqueg
uniqueg / migration_linux.md
Last active February 26, 2020 01:14
Config options to migrate to new operating system installation

~/.bashrc

Bash prompt

To use, overwrite the default definitions of PS1 in ~/.bashrc.

Includes conda and virtualenv environments as well as the current git branch, if any. Set changeps1: false in ~/.condarc and add export VIRTUAL_ENV_DISABLE_PROMPT=1 to ~/.bashrc to to disable the default prompt modifications by conda and virtualenv, respectively.

@uniqueg
uniqueg / GSoC_submission_instructions.md
Last active August 15, 2019 12:08
Product submission instructions for GSoC 2019