Skip to main content

A Command Line tool for splitting Fasta file with multiple sequences into individual Fasta files.

Project description

Split Fasta

Split Fasta is a command-line tool which allows you to split the Fasta file with multiple sequences into individual Fasta files.

Installation

You can install Split Fasta from PyPI: pip install split-fasta

The Split Fasta works with Python 3.6 & above.

How to use?

The Split Fasta is a command-line tool, named splitfasta. To start it you have to go to the folder containing the Fasta file and then use the following syntax:- splitfasta filename.fasta

And it will split the combined Fasta file into individual files and save it into filename_split_files directory with names from filename_1 to filename_n.

It accepts only .fasta and .fa files where each sequence is separated by '>'

The example input file is :-

>ID-1
ATGGCTCGAGCACCCGAGGAAGTCGAAGGCGGAGCCCAAGAAGAAGCTCCACCCCTCGCACGAGGCGGTGTTCGAACGCT
>ID-2
ATGGCTCGAGCACCCGAGGAAGTCGAAGGCGGAGCCCAAGAAGAAGCTCCACCCCTCGCACGAGGCGGTGTTCGAACGCT

Detailed Tutorial

You can check out the detailed tutorial here

License

© 2020 Udit Vashisht

This repository is licensed under the MIT license. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

split-fasta-1.0.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

split_fasta-1.0.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page