GithubHelp home page GithubHelp logo

rainbowmycelium / consequences Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 33 KB

R script for GenBank sequences names changing, filling-in missing molecular markers data and sequences concatenation

License: GNU General Public License v3.0

R 100.00%
biostrings concatenation data-curation fasta genbank molecular-evolution phylogenetics r r-programming semi-automatic

consequences's Introduction

ConSequences

ConSequences is an R script designed to perform semi-automatic curation of NCBI GenBank data. The data after curation with ConSequences is ready for analysis in Modeltest-NG and RAxML-NG.

Functions available in ConSequences script:

  • change.seq.names - automatically changes sequences names based on their accession numbers, when a table of sequence metadata is provided (see an examplary sequence metadata table - Umbelopsis.csv)
  • fill.with.pluses - fills the missing molecular marker data for each strain with pluses based on a table of sequence metadata
  • concatenate.sequences - concatenates molecular data for each strain

Functions change.seq.names and concatenate.sequences perform additional verification of your data. They print a report if the sequences data or metadata table are incomplete.

Additional information about functions usage and the code can be found in ConSequences.R file.

Files

ConSequences.R - contains thoroughly described script with functions for data curation, an examplary code to use with a test data provided and author's data necessary for citation.

Test - folder containing test data:

  • Umbelopsis.csv - an examplary table containing sequence metadata to use with the test data
  • act1.txt, COI.txt, ITS.txt, LSU.txt, mcm7.txt, SSU.txt - an examplary accession numbers files used to download test data via BatchEntrez on the GenBank website.

Citation

If You use this code in Your work, please cite this repository along with the script name. Author's data necessary for citation are available in ConSequences.R file.

consequences's People

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.