Skip to content

Commit 0603d37

Browse files
authored
Merge pull request #5 from computational-metabolomics/dev
Add and merge developments
2 parents 6ebb630 + 2a6f41a commit 0603d37

File tree

108 files changed

+82776
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+82776
-4
lines changed

.gitignore

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*,cover
47+
.hypothesis/
48+
49+
# Translations
50+
*.mo
51+
*.pot
52+
53+
# Django stuff:
54+
*.log
55+
local_settings.py
56+
57+
# Flask stuff:
58+
instance/
59+
.webassets-cache
60+
61+
# Scrapy stuff:
62+
.scrapy
63+
64+
# Sphinx documentation
65+
docs/_build/
66+
67+
# PyBuilder
68+
target/
69+
70+
# Jupyter Notebook
71+
.ipynb_checkpoints
72+
73+
# pyenv
74+
.python-version
75+
76+
# celery beat schedule file
77+
celerybeat-schedule
78+
79+
# dotenv
80+
.env
81+
82+
# virtualenv
83+
.venv
84+
venv/
85+
ENV/
86+
87+
# PyCharm
88+
# User-specific stuff:
89+
.idea/
90+
91+
# R-lanaguage
92+
# History files
93+
.Rhistory
94+
.Rapp.history
95+
96+
# Session Data files
97+
.RData
98+
99+
#macOS
100+
*.DS_Store
101+
102+
*~
103+
104+

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
dist: xenial
2+
language: python
3+
python:
4+
- "3.7"
5+
6+
services:
7+
- xvfb
8+
9+
install:
10+
- pip install coverage
11+
- pip install green codecov
12+
- pip install .
13+
14+
before_script:
15+
- "export DISPLAY=:99.0"
16+
17+
script:
18+
- beams --help
19+
- green -vvv --run-coverage
20+
21+
after_script:
22+
- python -m codecov

LICENSE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,8 @@ to attach them to the start of each source file to most effectively
631631
state the exclusion of warranty; and each file should have at least
632632
the "copyright" line and a pointer to where the full notice is found.
633633

634-
<one line to give the program's name and a brief idea of what it does.>
635-
Copyright (C) <year> <name of author>
634+
{one line to give the program's name and a brief idea of what it does.}
635+
Copyright (C) {year} {name of author}
636636

637637
This program is free software: you can redistribute it and/or modify
638638
it under the terms of the GNU General Public License as published by
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
652652
If the program does terminal interaction, make it output a short
653653
notice like this when it starts in an interactive mode:
654654

655-
<program> Copyright (C) <year> <name of author>
655+
{project} Copyright (C) {year} {fullname}
656656
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657657
This is free software, and you are welcome to redistribute it
658658
under certain conditions; type `show c' for details.

MANIFEST.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
include README.rst
2+
include LICENSE
3+
include requirements*.txt
4+
include examples/*.*
5+
include tests/*.py
6+
include tests/test_data/*.*
7+
include tests/test_results/.gitignore
8+
include beams/data/*.txt
9+
include beams/data/databases/*.sql.gz
10+
include beams/data/databases/databases.txt

README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.rst

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
BEAMS - Birmingham mEtabolite Annotation for Mass SpectroMetry
2+
================================================================
3+
|Version| |Py versions| |Git| |Bioconda| |Build Status (Travis)| |Build Status (AppVeyor)| |License| |RTD doc| |codecov| |mybinder|
4+
5+
BEAMS is a Python Package to annotate LC-MS and DIMS data.
6+
7+
- |documentation|
8+
- |source|
9+
- |bug reports|
10+
11+
Installation
12+
------------------------
13+
14+
Conda_
15+
~~~~~~~
16+
17+
1. Install |miniconda|. Follow the steps described |conda_install|.
18+
2. Run the following commands to install BEAMS.
19+
20+
Windows-64, Linux-64 and OSx
21+
22+
::
23+
24+
$ conda create -n beams beams -c conda-forge -c bioconda -c computational-metabolomics
25+
$ activate beams
26+
27+
Linux-64 and OSx
28+
29+
::
30+
31+
$ conda create -n beams beams -c conda-forge -c bioconda -c computational-metabolomics
32+
$ source activate beams
33+
34+
35+
Usage
36+
------------------------
37+
38+
Command line
39+
~~~~~~~~~~~~~
40+
41+
::
42+
43+
$ beams --help
44+
45+
GUI
46+
~~~~~~~~~~~~~
47+
48+
::
49+
50+
$ beams start-gui
51+
52+
Bugs
53+
------------------------
54+
55+
Please report any bugs that you find `here <https://github.com/computational-metabolomics/beams/issues>`_.
56+
Or fork the repository on `GitHub <https://github.com/computational-metabolomics/beams/>`_
57+
and create a pull request (PR). We welcome all contributions, and we will help you to make the PR if you are new to `git <https://guides.github.com/activities/hello-world/>`_.
58+
59+
License
60+
------------------------
61+
62+
Released under the GNU General Public License v3.0 (see `LICENSE file <https://github.com/computational-metabolomics/beams/LICENSE>`_)
63+
64+
.. |Build Status (Travis)| image:: https://img.shields.io/travis/computational-metabolomics/beams.svg?branch=dev&style=flat&maxAge=3600&label=Travis-CI
65+
:target: https://travis-ci.com/computational-metabolomics/beams
66+
67+
.. |Build Status (AppVeyor)| image:: https://img.shields.io/appveyor/ci/RJMW/beams.svg?style=flat&maxAge=3600&label=AppVeyor
68+
:target: https://ci.appveyor.com/project/RJMW/beams
69+
70+
.. |Py versions| image:: https://img.shields.io/pypi/pyversions/beams.svg?style=flat&maxAge=3600
71+
:target: https://pypi.python.org/pypi/beams/
72+
73+
.. |Version| image:: https://img.shields.io/pypi/v/beams.svg?style=flat&maxAge=3600
74+
:target: https://pypi.python.org/pypi/beams/
75+
76+
.. |Git| image:: https://img.shields.io/badge/repository-GitHub-blue.svg?style=flat&maxAge=3600
77+
:target: https://github.com/computational-metabolomics/beams
78+
79+
.. |Bioconda| image:: https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat&maxAge=3600
80+
:target: http://bioconda.github.io/recipes/beams/README.html
81+
82+
.. |License| image:: https://img.shields.io/pypi/l/beams.svg?style=flat&maxAge=3600
83+
:target: https://www.gnu.org/licenses/gpl-3.0.html
84+
85+
.. |RTD doc| image:: https://img.shields.io/badge/documentation-RTD-71B360.svg?style=flat&maxAge=3600
86+
:target: http://beams.readthedocs.io/en/latest/beams/index.html
87+
88+
.. |codecov| image:: https://codecov.io/gh/computational-metabolomics/beams/branch/master/graph/badge.svg
89+
:target: https://codecov.io/gh/computational-metabolomics/beams
90+
91+
.. |mybinder| image:: https://mybinder.org/badge_logo.svg
92+
:target: https://mybinder.org/v2/gh/computational-metabolomics/beams/master?filepath=notebooks
93+
94+
.. |documentation| raw:: html
95+
96+
<a href="http://beams.readthedocs.io/en/latest/beams/index.html" target="_blank">Documentation</a>
97+
98+
.. |source| raw:: html
99+
100+
<a href="https://github.com/computational-metabolomics/beams/tree/dev/beams" target="_blank">Source</a>
101+
102+
.. |bug reports| raw:: html
103+
104+
<a href="https://github.com/computational-metabolomics/beams/issues" target="_blank">Bug reports</a>
105+
106+
.. |conda_install| raw:: html
107+
108+
<a href="https://conda.io/docs/user-guide/install" target="_blank">here</a>
109+
110+
.. |miniconda| raw:: html
111+
112+
<a href="http://conda.pydata.org/miniconda.html" target="_blank">Miniconda</a>
113+
114+
.. _pip: https://pip.pypa.io/
115+
.. _Conda: http://conda.pydata.org/docs/
116+

appveyor.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
environment:
2+
matrix:
3+
- PYTHON: "C:\\Python37"
4+
5+
build_script:
6+
- '%PYTHON%\python.exe -m pip install .'
7+
8+
before_test:
9+
- '%PYTHON%\python.exe -m pip install coverage green'
10+
11+
test_script:
12+
- '%PYTHON%\python.exe -m green -vvv --run-coverage'

beams/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
3+
__version__ = '0.1.0'
4+
__license__ = 'GPLv3'

0 commit comments

Comments
 (0)