Giter Club home page Giter Club logo

guppy_bcsplit's Introduction

Python

Someone wrote this manual for my small bcsplit script. I justed merged into my readme. Thanks, stranger :-)

guppy_bcsplit

Installation

I saw someone on the Nanopore community unsure of how to use the program so these are some install steps that I used. Until guppy can demultiplex files natively (which should be soon), other programs will have to be used. If you've already run guppy_barcoder this script will work for you. Thanks to Michael Schmid for making the script.

biopython is required for guppy_bcsplit as it imports the Bio module from SeqIO in biopython to function. guppy_bcsplit works in python 2.7 and python 3.7.1 for me.

Clone the git repository:

git clone https://github.com/ms-gx/guppy_bcsplit.git

It's only one python file so you could easily put it anywhere.

Unless you change your PATH you'll have to cd and execute the script where it's located with ./guppy_bcsplit.py:

If you have multiple fastq files, you'll need to concatenate them first:

cat source_folder/*.fastq >> destination_folder/name.fastq

Commands

Unless you've added guppy_bcsplit to PATH you will need cd and run it from the folder with ./guppy_bcsplit.py

The following commands for guppy_bcsplit are:

-b is the folder containing the guppy barcoding summary file generated by guppy.

-f is the folder containing the .fastq files. If you wanted to point to a specific file, just add name .fastq after the folder

-p is the prefix that gets attached to barcodeXX so it will look like prefix_barcodexx.fastq.

-s is the folder where guppy_bcsplit will output a summary text of how many of each barcodes and unclassified reads there were.

./guppy_bcsplit.py -b folder_containing_guppy_barcode_summary/barcoding_summary.txt -f folder_containing_guppy_fastq_concatenated/ -p prefix -s folder/guppy_bcsplit_summary.txt

guppy_bcsplit should now demultiplex your barcodes and unclassified reads to separate .fastq files and create a summary output.

guppy_bcsplit's People

Contributors

ms-gx avatar cerdelyan avatar q11bul avatar

Watchers

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