Skip to main content

FASTA Merge

Description

A tool to merge multiple FASTA alignments to the same reference sequence. Given multiple files with sequences aligned to the same reference sequence, merge reference sequences and aligned sequences such that both alignment and spacing are preserved. This tool may not be suitable for large files, as it reads the full contents of all provided files into memory.

Note: This tool only does rudimentary alignment on the reference sequences. For best results, one of the reference sequences should be a superset of all other reference sequences. If this is not the case, this tool will fall back to aligning all reference sequences pairwise, which requires that all pairs of reference sequences overlap.

Setup

Dependencies

  • python >= 3.6
  • argopt
  • pykxnr

Installation

This project is available through pip as fasta-merge. To install, run:

pip install fasta-merge OR python -m pip install fasta-merge

Executing program

For basic usage, pass the tag name of the reference sequence and a list of files as input. Output can be redirected to a file to save merged alignments.

fasta-merge <label> [<file>...] > output.fasta

Help

fasta-merge -h

Authors

License

This project is licensed under the GPL3 License - see the LICENSE.md file for details

Acknowledgments

  • Thanks to the CU Boulder Whiteley Lab

Metadata

Release files for fasta-merge 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fasta-merge 0.0.2
File Size Uploaded
fasta-merge-0.0.2.tar.gz 17.7 kB Details

Release files / fasta-merge-0.0.2.tar.gz

Download URL fasta-merge-0.0.2.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3d509b25af5b4f0b4d58830cb674807b616302df8552d917ab9e1b3d638c6ade
BLAKE2b-256 checksum
How to use checksums
68f1ef3d2f8ada70136d2a6b924a7316457f446a2d3a2ccfc3a36db82a4905b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page