Skip to content

Commit 2dd8ae1

Browse files
author
Ben J. Ward
committed
Support >65535 CIGAR op-codes in BAM files (#13)
These changes add support for >65535 CIGAR op-codes in CIGAR strings in BAM records. SAM records are not a problem; their plain text formatting permits CIGAR strings of arbitrary length. This change also updates the README, a HUMANS file, and updates the documentation to use the Documenter.jl HTML generation.
1 parent 1489ebe commit 2dd8ae1

File tree

14 files changed

+596
-287
lines changed

14 files changed

+596
-287
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
### Added
9+
- Contributing files were added to this project.
10+
- A method called `BAM.ispositivestrand` is added to test for the relevant flag
11+
in BAM records. Thanks @phaverty :smile:
12+
- Support for records with CIGAR strings with >65535 op-codes has been added.
13+
14+
### Changed
15+
- Documentation has been updated and uses the Documenter.jl native html
16+
generator.
17+
18+
## [0.2.0] - 2017-08-01
19+
### Dependencies
20+
- :exclamation: Support for julia v0.5 has been dropped.
21+
- :exclamation: Some dependency lower bound requirements were adjusted for
22+
Automa, BGZFStreams, BioSequences, and IntervalTrees.
23+
24+
## [0.1.0] - 2017-06-30
25+
- This initial release extracted the alignment utilities out from Bio.jl into
26+
this dedicated package.
27+
28+
[Unreleased]: https://github.com/BioJulia/BioAlignments.jl/compare/v0.2.0...HEAD
29+
[0.2.0]: https://github.com/BioJulia/BioAlignments.jl/compare/v0.1.0...v0.2.0
30+
[0.1.0]: https://github.com/BioJulia/BioAlignments.jl/tree/v0.1.0

HUMANS.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# The humans responsible for BioAlignments
2+
3+
## BioAlignments.jl Maintainers
4+
- Ben J. Ward
5+
- GitHub: [BenJWard](https://github.com/BenJWard)
6+
7+
- Twitter: @Ward9250
8+
- Kenta Sato
9+
- GitHub: [bicycle1885](https://github.com/bicycle1885)
10+
11+
## Thanks
12+
- Peter Haverty
13+
- GitHub [phaverty](https://github.com/phaverty)
14+
15+
[Full contributors list](https://github.com/BioJulia/BioAlignments.jl/graphs/contributors)
16+
17+
_Is somebody missing from this file? That won't do! Please file an Issue or PR and let's fix that!_

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The BioSequences.jl package is licensed under the MIT "Expat" License:
1+
The BioAlignments.jl package is licensed under the MIT "Expat" License:
22

33
> Copyright (c) 2014: BioJulia.
44
>

README.md

Lines changed: 65 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,79 @@
1-
# BioAlignments.jl
1+
BioAlignments
2+
=============
23

3-
**Latest release:**
4+
[![latest release][release-img]][release-url]
5+
[![MIT license][license-img]][license-url]
6+
[![stable documentation][docs-stable-img]][docs-stable-url]
7+
[![latest documentation][docs-latest-img]][docs-latest-url]
8+
![lifecycle][lifecycle-maturing]
9+
[![Chat on Discord][discord-img]][discord-url]
410

5-
[![Latest Release][release-img]][release-url]
6-
[![BioAlignments][juliapkg06-img]][juliapkg-url]
7-
[![BioAlignments][juliapkg06-img]][juliapkg-url]
8-
[![License][license-img]][license-url]
9-
[![Docs Stable][docs-stable-img]][docs-stable-url]
10-
![BioJulia maintainer: bicycle1885](https://img.shields.io/badge/BioJulia%20Maintainer-bicycle1885-orange.svg)
11-
![BioJulia maintainer: Ward9250](https://img.shields.io/badge/BioJulia%20Maintainer-Ward9250-orange.svg)
11+
Description
12+
-----------
1213

13-
**Development status:**
14+
BioAlignments provides alignment algorithms, data structures, and I/O
15+
tools for SAM and BAM file formats.
1416

15-
[![Build Status][travis-img]][travis-url]
16-
[![Build status][appveyor-img]][appveyor-url]
17-
[![codecov.io][codecov-img]][codecov-url]
18-
[![Docs Latest][docs-latest-img]][docs-latest-url]
19-
20-
## Description
21-
22-
BioAlignments.jl provides alignment algorithms, data structures, and I/O tools
23-
for SAM and BAM file formats.
24-
25-
## Installation
17+
Installation
18+
------------
2619

2720
Install BioAlignments from the Julia REPL:
2821

2922
```julia
30-
julia> Pkg.add("BioAlignments")
23+
using Pkg
24+
add("BioAlignments")
25+
#Pkg.add("BioAlignments") for julia prior to v0.7
3126
```
3227

33-
If you are interested in the cutting edge of the development, please check out
34-
the master branch to try new features before release.
28+
If you are interested in the cutting edge of the development, please
29+
check out the master branch to try new features before release.
30+
31+
Testing
32+
-------
33+
34+
BioAlignments is tested against julia `0.6` and current `0.7-dev` on
35+
Linux, OS X, and Windows.
36+
37+
| **Latest release** | **Latest build status** |
38+
|:------------------:|:-----------------------:|
39+
| [![julia06][juliapkg06-img]][juliapkg-url] [![julia07][juliapkg07-img]][juliapkg-url] | [![travis][travis-img]][travis-url] [![appveyor][appveyor-img]][appveyor-url] [![coverage][codecov-img]][codecov-url] |
40+
41+
Contributing and Questions
42+
--------------------------
3543

36-
## Contributing and Questions
44+
We appreciate contributions from users including reporting bugs, fixing
45+
issues, improving performance and adding new features.
3746

38-
We appreciate contributions from users including reporting bugs, fixing issues,
39-
improving performance and adding new features.
40-
Please go to the [contributing section of the documentation](biojulia.github.io/BioAlignments.jl/stable/contributing)
41-
for more information.
47+
Take a look at the [CONTRIBUTING](CONTRIBUTING.md) file provided with
48+
this package for detailed contributor and maintainer guidelines.
4249

43-
If you have a question about
44-
contributing or using this package, you are encouraged to use the
45-
[Bio category of the Julia discourse
46-
site](https://discourse.julialang.org/c/domain/bio).
50+
If you have a question about contributing or using this package, come
51+
on over and chat to us on [Discord][discord-url], or you can try the
52+
[Bio category of the Julia discourse site](https://discourse.julialang.org/c/domain/bio).
4753

48-
[release-img]: https://img.shields.io/github/release/BioJulia/BioAlignments.jl.svg
49-
[release-url]: https://github.com/BioJulia/BioAlignments.jl/releases/latest
50-
[juliapkg05-img]: http://pkg.julialang.org/badges/BioAlignments_0.5.svg
51-
[juliapkg06-img]: http://pkg.julialang.org/badges/BioAlignments_0.6.svg
52-
[juliapkg-url]: http://pkg.julialang.org/?pkg=BioAlignments
53-
[license-img]: https://img.shields.io/badge/license-MIT-green.svg
54-
[license-url]: https://github.com/BioJulia/BioAlignments.jl/blob/master/LICENSE
55-
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
56-
[docs-stable-url]: https://biojulia.github.io/BioAlignments.jl/stable
57-
[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
58-
[docs-latest-url]: https://biojulia.github.io/BioAlignments.jl/latest/
59-
[travis-img]: https://travis-ci.org/BioJulia/BioAlignments.jl.svg?branch=master
60-
[travis-url]: https://travis-ci.org/BioJulia/BioAlignments.jl
61-
[appveyor-img]: https://ci.appveyor.com/api/projects/status/klkynmkr1tgd30gq/branch/master?svg=true
62-
[appveyor-url]: https://ci.appveyor.com/project/Ward9250/bioalignments-jl/branch/master
63-
[codecov-img]: http://codecov.io/github/BioJulia/BioAlignments.jl/coverage.svg?branch=master
64-
[codecov-url]: http://codecov.io/github/BioJulia/BioAlignments.jl?branch=master
54+
[release-img]: https://img.shields.io/github/release/BioJulia/BioAlignments.jl.svg?style=flat-square
55+
[release-url]: https://github.com/BioJulia/BioAlignments.jl/releases/latest
56+
[license-img]: https://img.shields.io/badge/license-MIT-green.svg?style=flat-square
57+
[license-url]: https://github.com/BioJulia/BioAlignments.jl/blob/master/LICENSE
58+
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg?style=flat-square
59+
[docs-stable-url]: https://biojulia.github.io/BioAlignments.jl/stable
60+
[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square
61+
[docs-latest-url]: https://biojulia.github.io/BioAlignments.jl/latest/
62+
[lifecycle-experimental]: https://img.shields.io/badge/lifecycle-experimental-orange.svg?style=flat-square
63+
[lifecycle-maturing]: https://img.shields.io/badge/lifecycle-maturing-blue.svg?style=flat-square
64+
[lifecycle-stable]: https://img.shields.io/badge/lifecycle-stable-brightgreen.svg?style=flat-square
65+
[lifecycle-retired]: https://img.shields.io/badge/lifecycle-retired-orange.svg?style=flat-square
66+
[lifecycle-archived]: https://img.shields.io/badge/lifecycle-archived-red.svg?style=flat-square
67+
[lifecycle-dormant]: https://img.shields.io/badge/lifecycle-dormant-blue.svg?style=flat-square
68+
[lifecycle-questioning]: https://img.shields.io/badge/lifecycle-questioning-blue.svg?style=flat-square
69+
[discord-img]: https://img.shields.io/badge/discord-chat-blue.svg?style=flat-square&logo=discord&colorB=%237289DA
70+
[discord-url]: https://discord.gg/z73YNFz
71+
[juliapkg06-img]: http://pkg.julialang.org/badges/BioAlignments_0.6.svg?style=flat-square
72+
[juliapkg07-img]: http://pkg.julialang.org/badges/BioAlignments_0.7.svg?style=flat-square
73+
[juliapkg-url]: http://pkg.julialang.org/?pkg=BioAlignments
74+
[travis-img]: https://img.shields.io/travis/BioJulia/BioAlignments.jl/master.svg?label=Linux+/+macOS
75+
[travis-url]: https://travis-ci.org/BioJulia/BioAlignments.jl
76+
[appveyor-img]: https://ci.appveyor.com/api/projects/status/klkynmkr1tgd30gq/branch/master?svg=true
77+
[appveyor-url]: https://ci.appveyor.com/project/Ward9250/bioalignments-jl/branch/master
78+
[codecov-img]: http://codecov.io/github/BioJulia/BioAlignments.jl/coverage.svg?branch=master
79+
[codecov-url]: http://codecov.io/github/BioJulia/BioAlignments.jl?branch=master

REQUIRE

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
julia 0.6
2-
Automa 0.3
3-
BGZFStreams 0.1
4-
BioCore 1.0
5-
BioSequences 0.5
6-
BioSymbols 1.0
7-
BufferedStreams 0.3
8-
GenomicFeatures 0.1
9-
IntervalTrees 0.2
2+
Automa 0.6.1
3+
BGZFStreams 0.1.4
4+
BioCore 1.4
5+
BioSequences 0.8.3
6+
BioSymbols 2.0
7+
BufferedStreams 0.4
8+
GenomicFeatures 0.2.1
9+
IntervalTrees 0.4.1

docs/make.jl

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
using Documenter, BioAlignments
22

33
makedocs(
4-
modules=[BioAlignments])
4+
format = :html,
5+
sitename = "BioAlignments.jl",
6+
pages = [
7+
"Home" => "index.md",
8+
"Alignment representation" => "alignments.md",
9+
"Pairwise alignment" => "pairalign.md",
10+
"IO" => [
11+
"SAM and BAM" => "hts-files.md"
12+
],
13+
"References" => "references.md"
14+
],
15+
authors = "Kenta Sato, Ben J. Ward, The BioJulia Organisation and other contributors."
16+
)
517
deploydocs(
6-
deps=Deps.pip("mkdocs", "pygments", "mkdocs-material"),
7-
repo="github.com/BioJulia/BioAlignments.jl.git",
8-
julia="0.6",
9-
osname="linux")
18+
repo = "github.com/BioJulia/BioAlignments.jl.git",
19+
julia = "0.6",
20+
osname = "linux",
21+
target = "build",
22+
deps = nothing,
23+
make = nothing
24+
)

docs/mkdocs.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

docs/src/contributing.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)