Giter Site home page Giter Site logo

create-marker-gene-database's Introduction

Create-Marker-Gene-Database

Scripts for creating "marker gene" reference files for use as database for sequence similarity searches

Overview

The generate_annotation.sh is taking a FASTA file with common header format as can be usually found in UniProt, NCBI, etc. and performs the following:

  • Dereplicate sequences by 97 percent similarity with cd-hit
  • Convert FASTA to one-line format and remove header description (after whitespace) with awk
  • Convert headers to md5 with python script convert_fasta_headers_md5.py
  • Merge files to create a complete annotation file with python script merge_annotation_files.py

Software requirements

cd-hit
Pandas (Python)

Requred files

  • FASTA file (.fa extention)
  • Tab-seperate annotation file (same name as FASTA with .tab exention)

Downloaded from UniProt, for example:
https://www.uniprot.org/uniprot/?query=terminase+family%3Aprotein+taxonomy%3A%22Viruses+%5B10239%5D%22&sort=score

Output files

  1. derep.fa
  2. derep.md5.fa
  3. derep.fa.clstr
  4. annotation.tsv

create-marker-gene-database's People

Contributors

hevronig avatar

Watchers

James Cloos 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.