GithubHelp home page GithubHelp logo

shelkmike / modified_porechop Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.35 MB

A version of Porechop which can use FASTA files with adapters

License: MIT License

Makefile 0.01% Python 1.07% C++ 94.89% C 4.02%

modified_porechop's Introduction

The original Porechop (https://github.com/rrwick/Porechop) has an embedded list of adapters, thereby not allowing a user to provide a custom list of adapters. Modified_porechop fixes this shortcoming. Basically, it works in the same way as Porechop, but has an additional parameter "--adapters", which allows a user to provide a FASTA file with adapter sequences.

Installation

git clone https://github.com/shelkmike/Modified_porechop.git
cd Modified_porechop
python3 setup.py install

To test whether Modified_porechop has been installed, type modified_porechop --help

Usage

For all details not related to the --adapters option, see the manual for the original Porechop (https://github.com/rrwick/Porechop).

The option --adapters requires a FASTA file which should be formatted in the following way:
>Some_adapter|left
AAGCAGTGGTATCAACGCAGAGT
>Some_adapter|right
ACTCTGCGTTGATACCACTGCTT
>Some_other_adapter|right
GTTGATACCACTGC

The title for each sequence consists of two parts: the one before "|" and the one after. The part before "|" is a name of the adapter. The part after "|" indicates whether this adapter can occur on the left end of a read or on the right end of a read. If some adapter can be on either end, provide its sequence twice. In the above example, "Some_adapter" can be on either end, and, naturally, its right sequence is a reverse complement of its left sequence. "Some_other_adapter" in this example is expected only on the right end of a read, hence there is no "|left" counterpart for it.

A comprehensive set of Nanopore adapters (adapters.fasta) is provided with Modified_porechop. It is a slightly extended version of the set provided with the classic Porechop.

Caveat: currently, Modified_porechop can utilize any non-barcoding (i.e. not containing a barcode) adapters provided by the user, but it can use only the standard set of Nanopore barcoding adapters (see them with titles like "BC19" in adapters.fasta). If you would like Modified_porechop to be able to use some non-standard barcoding adapters, let me know via Issues (https://github.com/shelkmike/Modified_porechop/issues).

modified_porechop's People

Contributors

shelkmike avatar

Stargazers

Julian Zaugg avatar Colin Davenport avatar

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.