Skip to content

A tentative approach to wrap the Symphony pipeline into python commands. For clarity.

Notifications You must be signed in to change notification settings

MatteoLacki/vodkas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rationale

Use Python to make your experience with Waters' Symphony Pipeline a much nicer experience. Otherwise said, add some synthactic sugar to Waters. In my country this results in Vodkas.

Installation

As easy as

    pip install vodkas

For developping:

REM assuming git and python preinstalled
REM python and Scripts added to PATH

REM making python scripts executable
$env:Pathext += ";.py"

mkdir "C:\\SYMPHONY_VODKAS\" -Force

pip install numpy scipy networkx
pip install ipython

REM installing pipeline
cd C:\\SYMPHONY_VODKAS\
git clone https://github.com/MatteoLacki/fs_ops
git clone https://github.com/MatteoLacki/furious_fastas
git clone https://github.com/MatteoLacki/docstr2argparse
git clone https://github.com/MatteoLacki/waters
git clone https://github.com/MatteoLacki/vodkas

pip install -e fs_ops
pip install -e furious_fastas
pip install -e docstr2argparse
pip install -e waters
pip install -e vodkas

Usage

Here is an examplary use. Be sure to set up the remote disks before-hand and make sure that all folders have proper, most lenient access privileges.

from pathlib import Path

from vodkas import apex3d, peptide3d, iadbs
from vodkas.fs import cp

raw = Path("C:/ms_soft/MasterOfPipelines/RAW/O1903/O190302_01.raw")
temp = Path("C:/Symphony/Temp/test")
apexOutPath, apex_proc = apex3d(raw, temp, write_binary=True, capture_output=True)
apexOutBIN = apexOutPath.with_suffix('.bin')
pep3dOutPath, pep_proc = peptide3d(apexOutBIN, temp,
                                   write_binary=True,
                                   min_LEMHPlus=350.0,
                                   capture_output=True)
pep3dOutXML = pep3dOutPath.with_suffix('.xml')
iadbsOutPath, iadbs_proc = iadbs(pep3dOutXML, temp, 
                                 fasta_file="C:/Symphony/Search/human.fasta",
                                 parameters_file="C:/Symphony/Search/251.xml",
                                 capture_output=True)

Best Regards, Matteo Lacki

About

A tentative approach to wrap the Symphony pipeline into python commands. For clarity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published