Skip to content

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

License

Notifications You must be signed in to change notification settings

planetypus/split-fasta

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%