Skip to content

Commit

Permalink
Preparing for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
arvestad committed Mar 2, 2024
1 parent cc3e82f commit 7894890
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,55 @@
# Changes since last version


## v1.8.0

* Added support for selecting sub-alignments. See option `-sa`


## v1.7.2

* Ed Davies fixed a bug: sorting using option -so was broken


## v1.7.1

* What??


## v1.7.0

* Added the option --alignment-index to support files with multiple MSAs.
* Added two functions, view and glimpse, to enable use of alv in notebook environments.


## v1.6.1

* Fixed accession abbreviation so that short accessions are left as they are.
* Requiring python 3.5 or later, because Colorama has droppen support for 3.4.


## v1.6.0

* New options: --only-variable and --only-variable-excluding-indels, contributed by nikostr. Constrains coloring
to columns with variation and variation not counting indels.
* Fixed the --dotted option, which only worked with the first block for DNA sequences. Also improved the coloring
which was too ugly in dotted mode (due to laziness).


## v1.5.0

* New option: `-d` or `--dotted`: the first sequence in the output alignment is used as a template and for positions
in subsequent sequences that are identical, a period ('.') is output instead of a symbol.
* Adjustment: replacing blue with cyan in the DNA coloring scheme.


## v1.4.0

* New option: `-r k` or `--random-accessions k` for only showing a sample of _k_ sequences.
* New option: `-g` or `--glimpse`: display an informative cut-out of the input MSA, if it does
not fit without scrolling or line-breaking.


## v1.3.4

* For some reason, setup.py was/is not putting proper Markdown to PyPi. Solved it halfway. Weird issue.
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ alv -k msa.fa | less -R
The `-k` option ensures that `alv` keeps coloring the alignment (by default, piping
and redirection removes colors), and the `-R` option instructs `less` to interpret color codes.


Choose to view a sub-alignment:
```
alv -sa 30 60 msa.fa
```
This selects and views columns 30 to 59 of msa.fa, keeping track of the "original" columns indexes in the output.


## For developers

Run `python setup.py develop test` for development install and to execute tests.
Expand Down
3 changes: 2 additions & 1 deletion THANKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
completely without "codons".
* Michael Milton suggested the --alignment-index option.
* Marina Herrera Sarrias suggested the notebook functionality.
* Ed Davies fixed a bug: sorting using option -so was broken
* Ed Davies fixed a bug: sorting using option -so was broken.
* Artem Kushner pointed out the missing support for sub-alignments.
2 changes: 1 addition & 1 deletion alv/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.7.2'
__version__ = '1.8.0'

0 comments on commit 7894890

Please sign in to comment.