Cialign

Latest version: v1.1.4

Safety actively analyzes 682334 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.1.4

New features
- Added two new mini alignment options - identity and similarity plots
Identity plots show which positions in your alignment are identical to the consensus, different to the consensus or gaps. Created using the `--plot_consensus_identity` parameter.
![identity](https://github.com/KatyBrown/CIAlign/assets/8896865/795901ff-eb5e-4f79-87b4-b36455bd770f)

Similarity plots calculate a substitution score for your alignment vs the consensus, using a substitution matrix of your choice, and colour the plot according to this score. Created using the `--plot_consensus_similarity` parameter.
![similarity](https://github.com/KatyBrown/CIAlign/assets/8896865/250a56de-b352-44ea-8e4d-4aa16d39ff85)

- Added additional statistics plots, plotted by default when `--plot_stats_input` or `--plot_stats_output` is specified.
- The nucleotide or amino acid frequency in the alignment and, for nucleotide alignments, the A/T (U) vs C/G ratio
![resfreq_nt](https://github.com/KatyBrown/CIAlign/assets/8896865/2e760ce6-7a33-4345-8e60-1cb3e90e5bb4)
- For nucleotide alignments, the proportion of each "change" in nucleotide relative to the consensus.
![changefreq](https://github.com/KatyBrown/CIAlign/assets/8896865/a4ddefc4-931b-47c1-b1b3-2564bd2c01a5)

- Added the option to remove sequences with duplicate names from the alignment, keeping either the first or last instance of each sequence name, with the parameter `--deduplicate_ids`.

Testing, Packaging and Documentation
- Updated CI workflow to cover more recent versions of Python
- Changed all requirements in package to require a minimum rather than fixed version of software
- Various updates to tests using images to work with latest version of pytest
- Minor updates to readthedocs build

Debugging
- Minor debug to crop_divergent to run remove_gap_only by default afterwards
- Improved markup for remove_gap_only
- Adjustment to move Q amino acids slightly higher in sequence logos
- Removed error sometimes raised if no cleaning functions are run
- Updated utilityFunctions.listFonts() as the matplotlib method used here was deprecated

1.1.0

A detailed description of all changes associated with the release is in the attached PDF.
[CIAlign_v1.1.0_Improvements.pdf](https://github.com/KatyBrown/CIAlign/files/10446317/CIAlign_v1.1.0_Improvements.pdf)

Briefly:
The “remove insertions” function now runs much faster, particularly when the maximum insertion size is very large
A new “crop divergent” function is now available, which allows the user to isolate the most conserved region of the alignment.
CIAlign can now generate position weight, position probability and position frequency matrices.
Users can now specify, using the retain functions, sequences which they would like CIAlign not to remove.
The plot_coverage function is now the plot_stats function and will generate three plots, showing coverage, Shannon entropy and information content per column.
Users can now extract part of an alignment based on their own coordinates, using the get_section function.
An additional colour palette is now available for mini alignments and sequence logos,
It is now possible to convert T to U in alignments, as well as U to T.
The CIAlign manual is now hosted at ReadTheDocs - https://cialign.readthedocs.io/ - and is more readable and comprehensive.
Unit test coverage is now 100% across all module files (excluding import lines and logging)

What's Changed
* Retain sequences by KatyBrown in https://github.com/KatyBrown/CIAlign/pull/45
* Crop divergent by KatyBrown in https://github.com/KatyBrown/CIAlign/pull/46
* Multiple changes for release of version 1.1.0 by KatyBrown in https://github.com/KatyBrown/CIAlign/pull/47


**Full Changelog**: https://github.com/KatyBrown/CIAlign/compare/v1.0.17...v1.1.0

1.0.17

Testing for conda release

1.0.16

Changelog:
Added an option to set a threshold proportion of sequences below which an insertion is removed
Added guidance for adding new CIAlign parameters
Pep8 compliance

1.0.15

Changlog:
Changed colour palette to be colour bilndness safe
Updated test images to reflect the new palette
Minor updates to online tables and figures - added linear regression results
Added continuous integration testing

1.0.14

Changlog:
* Minor updates to setup.py, MANIFEST.in to allow pip installation including .txt files
* Minor updates to timing data

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.