GithubHelp home page GithubHelp logo

gabaldonlab / crosslink-by-sequence Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 65.46 MB

A tool to crosslink proteins between two proteomes from different sources using their sequences, aiming to avoid the inaccuracies associated with source-specific IDs.

License: GNU General Public License v3.0

Python 95.81% Shell 0.65% Makefile 3.54%

crosslink-by-sequence's Introduction

crosslink-by-sequence

1. Setups on Unix systems

1.1 Install from Github

pip install https://github.com/Gabaldonlab/crosslink-by-sequence/archive/main.zip

1.2 Install from source

git clone https://github.com/gabaldonlab/crosslink-by-sequence
cd crosslink-by-sequence
make install

1.3 Install in a fresh virtual environment

git clone https://github.com/gabaldonlab/crosslink-by-sequence
cd crosslink-by-sequence
source scripts/install-with-fresh-env.sh

1.4 Uninstall

make uninstall

2. Examples

2.1 Command xample

crosslink-by-sequence \
		--reference_species_fasta_gzip_file ./test_data/input_data/reference_proteomes/8.7165.faa.gz \
		--target_fasta_gzip_files ./test_data/input_data/target_proteomes/0.7165.fasta.gz \
		--output_directory ./test_data/output_data \
		--tmp_directory ./test_data/output_data/tmp \
		--max_threads 4 \
		--minimum_coverage 0.5 \
		--minimum_identity 0.5 \
        --verbose

2.2 Output example

reference_protein_id    target_protein_id       score
etc...
etc...
41948605        tr|B0F4F0|B0F4F0_ANOGA  0.7629310344827587
41951902        tr|D1MYR4|D1MYR4_ANOGA  0.9588148148148148
41946886        tr|F5HIZ5|F5HIZ5_ANOGA  0.9754098360655737
41953815        tr|F5HJI2|F5HJI2_ANOGA  0.897212543554007
41953900        tr|F5HJN2|F5HJN2_ANOGA  0.9845
etc...
etc...

3. Singularity image

3.1. Build Singularity image for HPC cluster

NOTE: Inside the HPC you won't have sudo permissions to build the image. So you will have to build it locally on your working machine, then copy it to the remote one.

sudo make build-singularity-image

3.2. Run Singularity image example

singularity run --cleanenv crosslink_by_sequence_singularity.sif crosslink-by-sequence \
		--reference_species_fasta_gzip_file ./test_data/input_data/reference_proteomes/8.7165.faa.gz \
		--target_fasta_gzip_files ./test_data/input_data/target_proteomes/0.7165.fasta.gz \
		--output_directory ./test_data/output_data \
		--tmp_directory ./test_data/output_data/tmp \
		--max_threads 4 \
		--minimum_coverage 0.5 \
		--minimum_identity 0.5 \
		--verbose

4. Acknowledgments

4.1. Diamond v2.1.9.163 (C) Max Planck Society for the Advancement of Science, Benjamin Buchfink, University of Tuebingen

This tool uses the Diamond software for sequence alignment. Please cite the following when using Diamond in your work:

crosslink-by-sequence's People

Contributors

heloint avatar

Watchers

 avatar  avatar  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.