Skip to content

Commit d940e15

Browse files
authored
Merge pull request #11 from ressy/release-0.0.5
Release 0.0.5
2 parents c43b432 + 14d5be9 commit d940e15

File tree

17 files changed

+1215
-40
lines changed

17 files changed

+1215
-40
lines changed

.circleci/config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
- run:
1515
command: python -m unittest
1616
name: Test
17+
- run:
18+
command: python -m vquest -h
19+
name: Try CLI
1720

1821
workflows:
1922
main:

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
__pycache__/
2+
build/
3+
dist/
4+
vquest.egg-info/

CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Changelog
2+
3+
## 0.0.5 - 2021-03-10
4+
5+
### Added
6+
7+
* `--align` argument (via `airr_to_fasta` function) for exraction of sequence
8+
alignment FASTA from AIRR results ([#1])
9+
* Error messages sent by the server are now raised as an exception containing
10+
the server-provided message(s) ([#7])
11+
12+
### Changed
13+
14+
* Reorganized and expanded test code as its own package ([#6])
15+
* Added basic test of command-line usage ([#10])
16+
* Clarified wording on required options ([#8])
17+
18+
### Fixed
19+
20+
* Parse command-line options that should be integers from a finite list of
21+
options as integers instead of strings ([#5])
22+
23+
[#10]: https://github.com/ressy/vquest/pull/10
24+
[#8]: https://github.com/ressy/vquest/pull/8
25+
[#7]: https://github.com/ressy/vquest/pull/7
26+
[#6]: https://github.com/ressy/vquest/pull/6
27+
[#5]: https://github.com/ressy/vquest/pull/5
28+
[#1]: https://github.com/ressy/vquest/pull/1

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Automate IMGT V-QUEST usage on imgt.org
22

3+
[![vquest](https://circleci.com/gh/ressy/vquest.svg?style=shield)](https://circleci.com/gh/ressy/vquest)
4+
35
[IMGT](http://imgt.org)'s [V-QUEST](http://www.imgt.org/IMGT_vquest/analysis)
46
is only available via a web interface. This Python package automates V-QUEST
57
usage by submitting request data like the web form does. Curently only the
@@ -13,6 +15,12 @@ Example command-line usage, with rhesus sequences in seqs.fasta:
1315
The output is saved to `Parameters.txt` and `vquest_airr.tsv` (the files
1416
V-QUEST provides in a zip archive) in the working directory.
1517

18+
Or with `--align` to automatically extract the alignment as FASTA:
19+
20+
vquest --align --species rhesus-monkey --receptorOrLocusType IG --fileSequences seqs.fasta
21+
22+
Here the aligned FASTA text is printed directly to standard output.
23+
1624
Example Python usage:
1725

1826
>>> from vquest import *

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
biopython
22
requests
3+
requests-html
34
PyYAML

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
"License :: OSI Approved :: GNU Affero General Public License v3",
2828
"Operating System :: OS Independent",
2929
],
30-
install_requires=["biopython", "PyYAML", "requests"],
30+
install_requires=["biopython", "PyYAML", "requests", "requests-html"],
3131
python_requires='>=3.6',
3232
)

test_vquest/__init__.py

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
species: rhesus-monkey
2+
receptorOrLocusType: IG
3+
v_regionsearchindel: true
4+
sequences: |
5+
>IGKV2-ACR*02
6+
GACATTGTGATGACCCAGACTCCACTCTCCCTGCCCGTCACCCCTGGAGAGCCAGCCTCCATCTCCTGCAGGTCTAGTCA
7+
GAGCCTCTTGGATAGTGACGGGTACACCTGTTTGGACTGGTACCTGCAGAAGCCAGGCCAGTCTCCACAGCTCCTGATCT
8+
ATGAGGTTTCCAACCGGGTCTCTGGAGTCCCTGACAGGTTCAGTGGCAGTGGGTCAGNCACTGATTTCACACTGAAAATC
9+
AGCCGGGTGGAAGCTGAGGATGTTGGGGTGTATTACTGTATGCAAAGTATAGAGTTTCCTCC
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Content-Type text/html

0 commit comments

Comments
 (0)