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.
- Python 3
- Biopython library (
pip install biopython
)
-
Clone the repository or download the
concatenate_contigs.py
script. -
Give full permission (
chmod +rwx concatenate_contigs.py
). -
Execute the script from the command line, providing the required arguments:
python concatenate_contigs.py <input_fasta> <output_fasta>
Contributions are welcome via pull requests. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.