Coder Social home page Coder Social logo

chinmayank22 / blib2openswath Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 29.37 MB

A Python script to convert the spectral library in BLIB format (.blib) from either Skyline or BiblioSpec to readable library format (OpenSwath or Spectronaut libraries)

License: GNU General Public License v3.0

Python 100.00%
mass-spectrometry openswath proteomics spectral-library spectronaut

blib2openswath's Introduction

Blib2OpenSwath

A Python script to convert the spectral library in BLIB format (.blib) from either Skyline or BiblioSpec to readable library format (OpenSwath or Spectronaut tsv format)

Installation of requirements

>pip install -r requirements.txt

Usage

>python blib2openswath.py -h

usage: blib2openswath.py [-h] [--infile -i [-i ...]] [--fasta -f [-f ...]] [--tol -t [-t ...]] [--mz_type -m [-m ...]]

Blib2OpenSwath: Convert spectral library from BLIB (Skyline) to OpenSwath format

optional arguments:
  -h, --help            show this help message and exit
  --infile -i [-i ...]  The input spectral library file in BLIB format either from Skyline or BiblioSpec output
  --fasta -f [-f ...]   Proteome database in fasta format for mapping peptides sequences
  --tol -t [-t ...]     Library match tolerance in dalton (Da) for fragment m/z annotation (INFO: The tolerance of 0.5 Da and 0.05 Da was set as default)
  --mz_type -m [-m ...] Specify the type of fragment m/z values present in the input spectral library (Ex: "average" or "mono")
  --lib_fmt -l [-l ...] Specify the spectra library format (Ex: "openswath" or "spectronaut")
  --fmt -o [-o ...]     Specify the output spectra library file format (Ex: "tsv" or "csv")

Example

>python blib2openswath.py --infile data\library\Spectral_library.blib --fasta data\database\sequence.fasta --tol 0.02 --mz_type mono 

Contact

For more information, post an issue or send an email to [email protected]

blib2openswath's People

Contributors

chinmayank22 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.