Skip to content

Commit

Permalink
v0.9.3 add CSS, fix assembly write bug, add conda to README
Browse files Browse the repository at this point in the history
  • Loading branch information
johnomics committed May 30, 2019
1 parent 0e06158 commit f4d5260
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,19 @@ The report is intended to be shared with collaborators to explain the genome ass
Tapestry is designed for use with small eukaryotic genome assemblies, perhaps less than 50 Mb and less than 100 contigs. It will run on larger genomes (particularly with the -n option, see below), but it may be slow.

## Getting started

### Installation
Tapestry is in the [Bioconda](https://bioconda.github.io) repository. If you are set up to use Bioconda (see [Install conda](https://bioconda.github.io/#install-conda) and [Set up channels](https://bioconda.github.io/#set-up-channels)), install with `conda`:

```
conda install tapestry
```


### Requirements

Tapestry requires the following packages and tools (which will be installed by `conda` automatically):

- Linux or macOS
- Python 3.6 or later

Expand All @@ -31,10 +42,6 @@ Python packages:
- sqlalchemy
- tqdm

### Installation
```
git clone https://github.com/johnomics/tapestry
```

### Basic usage

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

setup(
name="tapestry",
version="0.9.1",
version="0.9.3",
author="John Davey",
author_email="[email protected]",
description="Validate and edit small eukaryotic genome assemblies",
url="https://github.com/johnomics/tapestry",
packages=['tapestry'],
package_data={
'tapestry': ['report/template.html', 'report/static/*.js'],
'tapestry': ['report/template.html', 'report/static/*.js', 'report/static/*.css'],
},
test_suite = 'test',
scripts=['weave', 'clean'],
Expand Down
2 changes: 1 addition & 1 deletion tapestry/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.2"
__version__ = "0.9.3"
3 changes: 2 additions & 1 deletion tapestry/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ def load_assembly(self):
SeqIO.write(rec, assembly_out, "fasta")

assembly_in.close()
assembly_out.close()
if not assembly_found:
assembly_out.close()

if len(contigs) == 0:
log.error(f"Could not load any contigs from {self.assemblyfile}. Is this a valid FASTA file?")
Expand Down

0 comments on commit f4d5260

Please sign in to comment.