overlap

package
v0.0.0-...-40008dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 16 Imported by: 0

README

Module name: organelle-overlap

Takes two lists of proteins and a txt file with similarity scores between proteins and outputs metrics on the similarity within and between the lists.

parameters definition default
compartmentFile JSON file with lists of proteins to compare
outFile output file name organelle-overlap.txt
similarityFile three-column tsv file (with header)

Example file formats

compartmentFile
[
  {
    "name": "compartment 1",
    "proteins": ["a", "b" ,"c"]
  },
  {
    "name": "compartment 2",
    "proteins": ["d", "e" ,"f"]
  }
]
similarityFile (tab-separated)
source  target  similarity
a   a   1
a   b   0.5
a   c   0.25
b   a   0.5
b   b   1
b   c   0.35
c   a   0.25
c   b   0.35
c   c   1
Output (example)
median  mean    min     max
ER lumen        0.541   0.448   0.087   0.699
ER membrane     0.429   0.380   0.035   0.706
between 0.069   0.116   0.013   0.655

Documentation

Overview

Package overlap calculates overlap metrics between two lists of proteins

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Metrics

func Metrics(fileOptions map[string]interface{})

Metrics uses a txt file with similarity scores between proteins and calculates metrics between and within two lists of proteins

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL