Code Monkey home page Code Monkey logo

primerfinder's Introduction

primerFinder

A python program to find the smallest fragments (i.e. the most likely to be amplified) from a set of primers in a target DNA sequence. The command generates a csv file (default: output.csv, use -o or --output to change) with 2 columns; 5' position of primer hit and length of fragment generated by the closest 3' primer site. The 5' position is the last base of the 5' primer. The length of fragment excludes the lengths of the two primers.

usage: primerFinder.py [-h] [-v] -i INPUTFILE -p PATTERNFILE [-o OUTFILE]

A program to find the smallest fragments (i.e. the most likely to be
amplified) from a set of primers in a target DNA sequence. The command
generates a csv file (default: output.csv, use `-o` or `--output` to change)
with 2 columns; 5' position of primer hit and length of fragment generated by
the closest 3' primer site. The 5' position is the _last_ base of the 5'
primer. The length of fragment excludes the lengths of the two primers.

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         increase output verbosity
  -i INPUTFILE, --inputFile INPUTFILE
                        file to find primers in (assumes the file contains
                        only DNA sequence, i.e. no headers, and that newlines
                        are not significant)
  -p PATTERNFILE, --patternFile PATTERNFILE
                        primer file with one primer per line all 5' to 3'
  -o OUTFILE, --outFile OUTFILE
                        file to write to

Example usage:

./primerFinder.py -i inputExample.txt -p primersExample.txt -v

primerfinder's People

Contributors

sherrillmix avatar

Watchers

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