Download the PHP package amelaye/biotools without Composer

On this page you can find all versions of the php package amelaye/biotools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package biotools

BioTools

Symfony forms and business logic for the BioPHP minitools.

This package ships the reusable half of the minitools: a Symfony form type and a service (manager) for each tool. It deliberately contains no controller and no template — the consuming application wires the forms into its own controllers and renders them with its own views.

All biological reference data (nucleotides, amino acids, codon tables, restriction endonucleases, vendors…) comes from amelaye/biophp, so nothing is duplicated here.

Requirements

Installation

Register both bundles in config/bundles.php:

Usage

Every form type and every manager is available for autowiring. A controller only has to build the form and delegate to the manager:

Available tools

Tool Form type Manager
Chaos Game Representation of DNA ChaosGameRepresentationType ChaosGameRepresentationManager
Oligonucleotide frequency based distance DistanceAmongSequencesType DistanceAmongSequencesManager
DNA to protein translation DnaToProteinType DnaToProteinManager
Palindromic sequences finder FindPalindromesType FindPalindromeManager
GC content finder FastaUploaderType FastaUploaderManager
Melting temperature (Tm) MeltingTemperatureType MeltingTemperatureManager
Microarray data analysis MicroArrayDataAnalysisType MicroarrayAnalysisAdaptiveManager
Microsatellite repeats finder MicrosatelliteRepeatsFinderType MicrosatelliteRepeatsFinderManager
Nucleotide / oligonucleotide frequency OligoNucleotideFrequencyType (biophp OligosManager)
PCR amplification PcrAmplificationType PcrAmplificationManager
Protein sequence properties ProteinPropertiesType ProteinPropertiesManager
Protein to DNA reverse translation ProteinToDnaType ProteinToDnaManager
Random sequences RandomSequencesType RandomSequencesManager
Reduced alphabets for proteins ReduceAlphabetType ReduceProteinAlphabetManager
Restriction enzyme digest of DNA RestrictionEnzymeDigestType RestrictionDigestManager
Alignment of two sequences SequenceAlignmentType SequenceAlignmentManager
DNA sequence manipulation / properties SequenceManipulationType SequenceManipulationAndDataManager
GC-, AT-, KETO- and oligo-skews SkewsType SkewsManager
Formula functions FormulasType FormulasManager

The upstream Reader (fasta/gff) minitool is not covered: it is a parsing library rather than a form-driven tool, so it belongs with the other parsers in amelaye/biophp. Its original source is kept in legacy/.

Generated graphics

Four tools produce a drawing: Chaos Game Representation (CGR and FCGR), skews and the distance dendrogram. They are rendered as SVG — vector, so crisp at any zoom, with real fonts and styleable with CSS — and written into the directory configured under nucleotids_graphs.path_graphs. Each method returns the path it wrote; the file name carries a random suffix so two concurrent requests cannot overwrite each other's graphic:

The directory must exist and be writable, otherwise an exception is thrown — the previous GD implementation failed silently and returned a name for a file it had not written.

Configuration

The bundle works without configuration. Two data sets can be overridden:

Defaults live in Resources/config/defaults.php.

Divergences from the original minitools

Two formulas are mathematically wrong in the upstream biophp.org code and have been corrected here (each divergence is commented in Service/FormulasManager.php):

Legacy code

The original single-file minitools by Joseba Bikandi are kept verbatim in legacy/ for reference and GPL continuity. See legacy/README.md for provenance and the mapping to the modernised classes.

Tests

Licence

GNU GPL v2 only — the licence of the original BioPHP minitools.


All versions of biotools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
amelaye/biophp Version ^2.0.1
symfony/config Version ^7.4
symfony/dependency-injection Version ^7.4
symfony/form Version ^7.4
symfony/http-foundation Version ^7.4
symfony/http-kernel Version ^7.4
symfony/options-resolver Version ^7.4
symfony/validator Version ^7.4
twig/twig Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package amelaye/biotools contains the following files

Loading the files please wait ...