Skip to content

Commit

Permalink
License under GPLv3+
Browse files Browse the repository at this point in the history
  • Loading branch information
veghp committed Aug 22, 2023
1 parent 89a3eb8 commit 24798b9
Show file tree
Hide file tree
Showing 8 changed files with 733 additions and 6 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ The plot shows alignment regions as annotations: green annotations (genetic part

Ediacara uses the [semantic versioning](https://semver.org) scheme.

## Copyright
## License = GPLv3+

Copyright 2021 Edinburgh Genome Foundry
Copyright 2021 Edinburgh Genome Foundry, University of Edinburgh

Ediacara was written at the [Edinburgh Genome Foundry](https://edinburgh-genome-foundry.github.io/)
by [Peter Vegh](https://github.com/veghp).
by [Peter Vegh](https://github.com/veghp), and is released under the GPLv3 license.
16 changes: 14 additions & 2 deletions ediacara/Assembly.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Copyright 2021 Edinburgh Genome Foundry, University of Edinburgh
#
# This file is part of Ediacara.
#
# Ediacara is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
#
# Ediacara is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with Ediacara. If not, see <https://www.gnu.org/licenses/>.

import os

import pandas as pd
Expand Down Expand Up @@ -100,8 +110,10 @@ def __init__(
plan_df = pd.read_csv(assembly_plan, skiprows=1, header=None) # skip header
self.assembly_plan = plan_df[plan_df[0] == self.reference.id]
if len(self.assembly_plan) == 0:
raise ValueError("Error! Assembly plan doesn't contain the reference! "
"(Have you ensured that the plan contains a header line?)")
raise ValueError(
"Error! Assembly plan doesn't contain the reference! "
"(Have you ensured that the plan contains a header line?)"
)
if len(self.assembly_plan) > 1:
raise ValueError(
"Error! More than one assembly plan entry matches the reference!"
Expand Down
10 changes: 10 additions & 0 deletions ediacara/Comparator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Copyright 2021 Edinburgh Genome Foundry, University of Edinburgh
#
# This file is part of Ediacara.
#
# Ediacara is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
#
# Ediacara is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with Ediacara. If not, see <https://www.gnu.org/licenses/>.

import itertools
import re
import statistics
Expand Down
10 changes: 10 additions & 0 deletions ediacara/reports.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Copyright 2021 Edinburgh Genome Foundry, University of Edinburgh
#
# This file is part of Ediacara.
#
# Ediacara is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
#
# Ediacara is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with Ediacara. If not, see <https://www.gnu.org/licenses/>.

from datetime import datetime
import os

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
description="EGF's alignment reporter",
long_description=open("pypi-readme.rst").read(),
long_description_content_type="text/x-rst",
keywords="biology",
license="GPLv3+",
keywords="biology, sequencing",
packages=find_packages(exclude="docs"),
include_package_data=True,
install_requires=[
Expand Down
10 changes: 10 additions & 0 deletions tests/test_Comparator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Copyright 2021 Edinburgh Genome Foundry, University of Edinburgh
#
# This file is part of Ediacara.
#
# Ediacara is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
#
# Ediacara is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with Ediacara. If not, see <https://www.gnu.org/licenses/>.

import os

from Bio import SeqIO
Expand Down
10 changes: 10 additions & 0 deletions tests/test_reports.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Copyright 2021 Edinburgh Genome Foundry, University of Edinburgh
#
# This file is part of Ediacara.
#
# Ediacara is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
#
# Ediacara is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with Ediacara. If not, see <https://www.gnu.org/licenses/>.

import os
import pandas as pd

Expand Down

0 comments on commit 24798b9

Please sign in to comment.