Skip to content

This Python script is designed to concatenate all contig sequences from a multi-FASTA file into a single contig.

Notifications You must be signed in to change notification settings

fabio-marcelo/concatenate_contigs_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Contig Concatenation Script with Dynamic Output Name

This Python script concatenates contig sequences from a multi-FASTA file into a single contig. The name of the concatenated contig will match the base name of the input file, removing the ".fasta" extension.

Requirements

  • Python 3
  • Biopython library (pip install biopython)

Usage

Running the Script

  1. Clone the repository or download the concatenate_contigs.py script.

  2. Give full permission (chmod +rwx concatenate_contigs.py).

  3. Execute the script from the command line, providing the required arguments:

    python concatenate_contigs.py <input_fasta> <output_fasta>
    

Contributions

Contributions are welcome via pull requests. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License.

About

This Python script is designed to concatenate all contig sequences from a multi-FASTA file into a single contig.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages