Giter VIP home page Giter VIP logo

plannotate's Introduction

License: GPL v3 Python 3 DOI install with bioconda

pLannotate_logo

Online Annotation

pLannotate is web server for automatically annotating engineered plasmids.

Please visit http://plannotate.barricklab.org/

Local Installation

To use pLannotate as a local server or a command line tool, please follow the installation instructions below.

Quick install

The easiest way to install is via conda, or for faster installation, mamba:

conda create -n plannotate -c conda-forge -c bioconda plannotate

or

mamba create -n plannotate -c conda-forge -c bioconda plannotate

Then activate the plannotate conda environment (conda activate plannotate) and proceed with using pLannotate (see Using pLannotate locally below).

Installing from source

Installing from source also requires conda (or mamba), therefore the above method is recommended. If you still wish to install from source, download the compressed source code from the releases page. Uncompress the source code and move the directory to a location of your choice.

On the command line, navigate into the pLannotate folder.

Enter the following commands:

conda env create -f environment.yml
conda activate plannotate
python setup.py install

After installation, run the following command to download the database files:

plannotate setupdb

Using pLannotate locally

Local server (GUI)

After installation, launch pLannotate as a local web server with:

plannotate streamlit

pLannotate should launch in your default web browser, or you may simply navigate to http://localhost:8501 in your web browser.

Command Line Interface (batch mode)

To annotate FASTA or GenBank files and generate the interactive plasmid maps on the command line, follow the above instructions to install pLannotate.

We can check the options using the following command:

plannotate batch --help

Usage: plannotate batch [OPTIONS]

  Annotates engineered DNA sequences, primarily plasmids. Accepts a FASTA file
  and outputs a gbk file with annotations, as well as an optional interactive
  plasmid map as an HTLM file.

Options:
  -i, --input TEXT      location of a FASTA or GBK file
  -o, --output TEXT     location of output folder. DEFAULT: current dir
  -f, --file_name TEXT  name of output file (do not add extension). DEFAULT:
                        input file name

  -s, --suffix TEXT     suffix appended to output files. Use '' for no suffix.
                        DEFAULT: '_pLann'

  -y, --yaml_file TEXT  path to YAML file for custom databases. DEFAULT:
                        builtin

  -l, --linear          enables linear DNA annotation
  -h, --html            creates an html plasmid map in specified path
  -c, --csv             creates a cvs file in specified path
  -d, --detailed        uses modified algorithm for a more-detailed search
                        with more false positives

  -x, --no_gbk          supresses GenBank output file
  --help                Show this message and exit.

Example usage:

plannotate batch -i ./plannotate/data/fastas/pUC19.fa --html --output ~/Desktop/ --file_name pLasmid

Custom databases can be added by supplying pLannotate a custom YAML file. To create the default YAML file, enter the following command:

plannotate yaml > plannotate_default.yaml

This configuration file can be edited to point to other external databases that you wish to use. When launching pLannotate, you can specify the path to your custom YAML file using the --yaml_file option.

Using within Python

You can also directly import pLannotate as a Python module:

from plannotate.annotate import annotate
from plannotate.bokeh_plot import get_bokeh
from plannotate.resources import get_seq_record
from bokeh.io import show

# for inline plotting in jupyter
from bokeh.resources import INLINE
import bokeh.io
bokeh.io.output_notebook(INLINE)

seq = "tgaccaggcatcaaataaaacgaaaggctcagtcgaaagactgggcctttcgttttatctgttgtttgtcggtgaacgctctctactagagtcacactggctcaccttcgggtgggcctttctgcgtttataggtctcaatccacgggtacgggtatggagaaacagtagagagttgcgataaaaagcgtcaggtagtatccgctaatcttatggataaaaatgctatggcatagcaaagtgtgacgccgtgcaaataatcaatgtggacttttctgccgtgattatagacacttttgttacgcgtttttgtcatggctttggtcccgctttgttacagaatgcttttaataagcggggttaccggtttggttagcgagaagagccagtaaaagacgcagtgacggcaatgtctgatgcaatatggacaattggtttcttgtaatcgttaatccgcaaataacgtaaaaacccgcttcggcgggtttttttatggggggagtttagggaaagagcatttgtcatttgtttatttttctaaatacattcaaatatgtatccgctcatgagacaataaccctgataaatgcttcaataatattgaaaaaggaagagtatgagtattcaacatttccgtgtcgcccttattcccttttttgcgg"

# get pandas df of annotations
hits = annotate(seq, is_detailed = True, linear= True)

# get biopython SeqRecord object
seq_record = get_seq_record(hits, seq)

# show plot
show(get_bokeh(hits, linear=True))

This syntax will likely change in the future to be more user-friendly.

About

pLannotate was developed and is maintained by Matt McGuffie at the Barrick lab, University of Texas at Austin, Austin, Texas.

plannotate's People

Contributors

cjw85 avatar jcahill avatar jeffreybarrick avatar mmcguffi avatar nh13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plannotate's Issues

Retaining ORFs?

HI!
I've noticed that when you have an ORF that can't be annotated with any of the databases currently in set, pLannotate does not produce an CDS feature. Adding a custom database via the -y option did produce what I wanted, but would it be possible to add predicting ORFs, for say longer than 100bps?

[Request] Add feature annotations in the .gbk map

Hello,

I was wondering if it would be possible to add the "feature description" into the "/note" section of the feature so they are conserved in the GenBank file. It would be conveninet to have these longer descriptions instead of just the feature name, especially when using Snapgene or other visualization programs.

image

Plasmid name defaults to "plasmid"

Hi!
After running pLannotate on my plasmid sequence, the plasmid name in the LOCUS defline by default "plasmid". Would it be possible to pass through the name of the sequence in the input fasta file to the plasmid name?

Input file size

Hi,

I found plannotate to be very useful for my work but I am struggling to get it work for larger plasmids > 50,000bp. Is there a workaround for this situation or can you recommend another tool to explore that option?

Thanks!

Annotating a large batch of plasmid reads

Hey @jeffreybarrick,

I wanted to get your thoughts before I make this PR, which will only take me a few hours. The idea would be to able to annotate a large batch of plasmid sequences, for example tens of thousands. This would be useful when QC'ing individual long-reads sequencing a colony of plasmids, prior to assembly of the various populations.

I would modify the annotate and accompanying methods to accept a batch of queries, versus a single one now, as well as explicitly set threading on the various blast/diamond/cmscan tools. I would then modify the main "batch" method to accept a FASTA or FASTQ that could have more than one sequence (I would use pysam for parsing, so a new dependency). I would also add a bit of caching (opt-in of course). Finally, I would create HTML and GBK files (when the cli commands are set) on a per-read basis for QC. I'd probably add a bit of progress logging too.

Thoughts?

Location of blast databases

Hello,

I am not able to find the location of the blast databases. Can you please guide me on this?

Best wishes,

Issue with streamlit.cli from conda installation

Hi,

I have installed pLannotate from conda and I am getting the following error message:

File "(...)/miniconda3/envs/plann/lib/python3.11/site-packages/plannotate/pLannotate.py", line 5, in
import streamlit.cli
ModuleNotFoundError: No module named 'streamlit.cli'

According to this issue in github, it seems that:
"If anyone stumbles across this, the streamlit.cli module was moved to streamlit.web.cli."

Best,

Edit: if I install it with mamba, it gets a different version of streamlit that works. But sometimes I get an error with altair version 5 (if it gets version 4, it works). Maybe "fixing" the versions of streamlit and altair in the recipe should fix the problem?

Combined Annotations from pLannotate running locally

When running the pLannotate gui app, there is an option to download a gbk file with combined annotations.
image

When I do the annotation locally:

plannotate batch --input pTA1_FASIIb.gb --html --detailed

The features in the original file are lost.

Is there an option for this?

AttributeError: module 'streamlit' has no attribute 'cli'

Hi,

I got an error when starting plannotate after installing it via mamba. I changed "import streamlit.cli" to "import streamlit.web.cli" and got it working again.

Could you perhaps tell me how i can start the application on a different port then 8501? I have some other streamlit applications running on other ports and there i just specify the port by adding ex. --server.port 7501. But this does not seem to work with plannotate.

Regards
Nicolas

adding custom database clarification

Hello,

Thank you for the tool-- I managed to install pLannotate and am now trying to add a custom database.

I see that we can add a new database to the .yaml file, something along the lines of

fpbase:
  details:
    compressed: false
    default_type: CDS
    location: Default
  location: Default
  method: diamond
  parameters:
  - -k 0
  - --min-orf 1
  - --matrix BLOSUM90
  - --gapopen 10
  - --gapextend 1
  - --algo ctg
  - --id 75
  - --max-hsps 10
  - --culling-overlap 200
  - --seed-cut .001
  - --comp-based-stats 0
  priority: 1
  version: downloaded 2020-09-02

However, I'm not sure what format/files are needed for the custom database. I assume I create some files, and then specify the location above.

I was hoping to look at the existing databases as an example, but I am having trouble where the Default location is storing them.

Any chance you could help clarify and/or point to some examples?

Thanks,
Max

Converting html map to image?

Hi @mmcguffi ,
Is it possible to convert the html annotation map file to an image?
I tried wkhtmltoimage but unfortunately it just gives a blank file.
It seems the image is being made dynamically.

Let me know if you have any insights into this.

Custom databases

Adding functionality for users to specify custom databases, as well as increasing ease of modularly extending pLannotate in the future.

Currently the idea is to create a separate file, perhaps YAML or similar format, that specifies:

  • database location
  • type of database
  • optional location of matching descriptions
  • optional parameters

Any other ideas or desired functionality is much appreciated.

Conda/mamba installation appears to be broken

Installed via conda as per the instructions in the README:

mamba create -n plannotate -c conda-forge -c bioconda plannotate

which resulted in version 1.2.0 being installed. I then (after failing with my own plasmids) downloaded pUC19.fa from the data directory in this github repo, and tried annotating it and this is what I get:

(plannotate) fennell@x86_64 /tmp $ plannotate batch --input pUC19.fa --html --output /tmp
2023-04-07 09:15:03.772
  Warning: to view this Streamlit app on a browser, run it with the following
  command:

    streamlit run /Users/fennell/conda.x86/envs/plannotate/bin/plannotate [ARGUMENTS]
Traceback (most recent call last):
  File "/Users/fennell/conda.x86/envs/plannotate/bin/plannotate", line 10, in <module>
    sys.exit(main())
  File "/Users/fennell/conda.x86/envs/plannotate/lib/python3.10/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/Users/fennell/conda.x86/envs/plannotate/lib/python3.10/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/Users/fennell/conda.x86/envs/plannotate/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/fennell/conda.x86/envs/plannotate/lib/python3.10/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/fennell/conda.x86/envs/plannotate/lib/python3.10/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/fennell/conda.x86/envs/plannotate/lib/python3.10/site-packages/plannotate/pLannotate.py", line 116, in main_batch
    recordDf = annotate(inSeq, yaml_file, linear, detailed)
  File "/Users/fennell/conda.x86/envs/plannotate/lib/python3.10/site-packages/plannotate/annotate.py", line 355, in annotate
    blastDf = clean(blastDf)
  File "/Users/fennell/conda.x86/envs/plannotate/lib/python3.10/site-packages/plannotate/annotate.py", line 178, in clean
    rowSlice = (seqSpace[columnSlice] == kind).any(1) #only the rows that are in the columns of hit
TypeError: NDFrame._add_numeric_operations.<locals>.any() takes 1 positional argument but 2 were given

ModuleNotFoundError: No module named 'streamlit.cli'

Trying to run pLannotate via conda and I get the error:

ModuleNotFoundError: No module named 'streamlit.cli'

After a little digging it looks like the streamlit.cli module was moved to streamlit.web.cli in the newer versions of streamlit.

I suggest changing the import or locking the streamlit version to an earlier version.

It worked for me when I used streamlit version 1.10.0

Finding nested features

pLannotate currently does not report valid features that are completely nested within a larger feature. For example, the SV40 origin of replication contained within the SV40 promoter, which currently pLannotate only reports the larger SV40 promoter.

I will address this by:

  • improving the filtering algorithm so it does not drop nested features that are of a separate "type" (as specified by DDBJ/ENA/GenBank)

DIAMOND does not find all potential hits

Currently, DIAMOND only reports the top 25 hits which was an oversight in initial development and can lead to missing annotations.

This will be addressed by:

  • reporting all hits
  • upgrading the DIAMOND version to 2.0.x (algorithmic improvements that find more hits)
  • using the full Swiss-Prot database (currently the database is trimmed)

batch mode

Would be great if for the local installation it could be possible to process files in batch mode. Some instructions to do it would be cool.

Another thing will good if users could create their own add on database, some of the parts we use in our lab are not picked up

I so far managed to run it within Docker, however could facilitate portability if there is a full docker implementation of the tool. However im so far impressed with the tool and very thankful that you developed such a cool tool.

`st.cache` is deprecated

: MADV_DONTNEED does not work (memset will be used instead)
: (This is the expected behaviour if you are running under QEMU)
2024-01-28 22:23:41.053
Warning: to view this Streamlit app on a browser, run it with the following
command:

streamlit run /opt/conda/bin/plannotate [ARGUMENTS]

2024-01-28 22:24:20.154 st.cache is deprecated. Please use one of Streamlit's new caching commands,
st.cache_data or st.cache_resource.

More information in our docs.
Traceback (most recent call last):
File "/opt/conda/bin/plannotate", line 33, in
sys.exit(load_entry_point('plannotate==1.2.1', 'console_scripts', 'plannotate')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/plannotate/pLannotate.py", line 116, in main_batch
recordDf = annotate(inSeq, yaml_file, linear, detailed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/plannotate/annotate.py", line 355, in annotate
blastDf = clean(blastDf)
^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/plannotate/annotate.py", line 178, in clean
rowSlice = (seqSpace[columnSlice] == kind).any(1) #only the rows that are in the columns of hit
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DataFrame.any() takes 1 positional argument but 2 were given

Installation Issues

Hello,
I have been having issues with pLannotate installation.

When I attempt the conda version I get an issue with blast
image

When I attempt the other file version, I get a similar issue.
image

I have the most recent version of conda 24.1.2 but it still seems like the correct versions of multiple dependencies don't exist on the proper channels

If anyone knows why this issue persists, please let me know. Thanks!

Instructions for adding custom database?

Hi, I want to use plannotate with my desired genome (like zebrafish, drosophila, etc.).

I checked the BLAST_dbs.tar.gz file and I noticed the plannotate internally uses infernal(for RNA) and diamond(for DNA).
So, If I generate my own diamond db with a genome of interest, can I use it with plannotate?

I also checked plannotate_default.yaml file, but I couldn't find out instructions...
thanks!

any() takes 1 positional argument but 2 were given error

Hi, thanks for the great software.
I was testing pLannotate on my plasmids when I hit this error. I also get this error using the pUC19 fasta file from the repository, so I am presuming that this is not a problem from my own plasmids. The pLannotate was installed through conda.


% plannotate --version
plannotate, version 1.2.0

% plannotate batch -i tmp/pUC19.fa --output tmp -d --file_name tmp_plannotate --html
2023-04-28 09:16:35.350
  Warning: to view this Streamlit app on a browser, run it with the following
  command:

    streamlit run /home/abs/anaconda3/envs/bio/bin/plannotate [ARGUMENTS]
Traceback (most recent call last):
  File "/home/abs/anaconda3/envs/bio/bin/plannotate", line 10, in <module>
    sys.exit(main())
  File "/home/abs/anaconda3/envs/bio/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/abs/anaconda3/envs/bio/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/abs/anaconda3/envs/bio/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/abs/anaconda3/envs/bio/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/abs/anaconda3/envs/bio/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/abs/anaconda3/envs/bio/lib/python3.8/site-packages/plannotate/pLannotate.py", line 116, in main_batch
    recordDf = annotate(inSeq, yaml_file, linear, detailed)
  File "/home/abs/anaconda3/envs/bio/lib/python3.8/site-packages/plannotate/annotate.py", line 355, in annotate
    blastDf = clean(blastDf)
  File "/home/abs/anaconda3/envs/bio/lib/python3.8/site-packages/plannotate/annotate.py", line 178, in clean
    rowSlice = (seqSpace[columnSlice] == kind).any(1) #only the rows that are in the columns of hit
TypeError: any() takes 1 positional argument but 2 were given

custom database installation

Hey,
I am trying to set up a custom blast database and run pLannotate using a custom yaml_file but run into some issues
I have a fasta file mtcsb_parts.fasta containing my custom nucleotide sequences:

>1
NNNNNNN
>2
NNNNNNN

I create the blast database using:
makeblastdb -in /Users/ruprec01/Documents/Faith_lab/Git/blastdb/mtcsb_parts/mtcsb_parts.fasta -title "mtcsb_parts" -dbtype nucl
I have a mtcsb_parts.csv file containing descriptions of the sequneces in the same path:

sseqid,Feature,Type,Description
1,feature1,type1,descript1
2,feature2,type2,descript2

I create a custom_yaml file, that contains the entry

mtcsb_parts:
  details:
    compressed: false
    default_type: None
    location: /path-to-folder/mtcsb_parts
  location: /path-to-folder/mtcsb_parts
  method: blastn
  parameters:
  - -perc_identity 95
  priority: 1
  version: Downloaded 2021-07-23

I run plannotate using in conda using:

plannotate batch -i test.fasta \
--yaml_file plannotate_custom.yaml \
--output /output

I get the following error:

streamlit run /Users/ruprec01/opt/anaconda3/envs/plannotate/bin/plannotate [ARGUMENTS]
Traceback (most recent call last):
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/bin/plannotate", line 10, in <module>
  sys.exit(main())
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
  return self.main(*args, **kwargs)
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/lib/python3.10/site-packages/click/core.py", line 1053, in main
  rv = self.invoke(ctx)
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
  return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
  return ctx.invoke(self.callback, **ctx.params)
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/lib/python3.10/site-packages/click/core.py", line 754, in invoke
  return __callback(*args, **kwargs)
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/lib/python3.10/site-packages/plannotate/pLannotate.py", line 180, in main_batch
  gbk = rsc.get_gbk(recordDf, inSeq, kwargs["linear"])
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/lib/python3.10/site-packages/plannotate/resources.py", line 120, in get_gbk
  record = get_seq_record(inDf, inSeq, is_linear, record)
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/lib/python3.10/site-packages/plannotate/resources.py", line 151, in get_seq_record
  inDf["feat loc"] = inDf.apply(FeatureLocation_smart, axis=1)
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/lib/python3.10/site-packages/pandas/core/frame.py", line 3940, in __setitem__
  self._set_item_frame_value(key, value)
File "/Users/ruprec01/opt/anaconda3/envs/plannotate/lib/python3.10/site-packages/pandas/core/frame.py", line 4094, in _set_item_frame_value
  raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column feat loc

I am wondering if you can help me out with how to create the blastdatabase properly and add the correct entry into the custom yaml file. plannotate works as soon as I add for example the snapgene entry back into the custom yaml file.
Thanks for any help, really love pLannotate!
Greetings,
Constantin

Entry size is too large -- must be 50000 bases or less

Hi @mmcguffi,
I am trying to annotate plasmids using this tool. So far it had worked pretty well but it is throwing error for plasmids larger than 50Kb. I tried the method mentioned in one of the issue which was building the tool from the source but it is still throwing me the same error. I tried manipulating the script a bit but it didn't gave the expected result.
So I request you to please help me out whenever its possible.
Please let me know if you need any other information from my side.
Thank you in advance.

Let's get this on Bioconda!

Hi @mmcguffi, I'm creating this issue to work on getting this added to Bioconda. I think it would be straightforward.

One thing I was wondering about, would you be up for creating a plannotate download function to download the databases and put them in the expected location? I think this would make pLannotate easier to use for novice users, but also make the download process more standardized.

Curious on your thoughts about this

Issue while running plannotate inside singularity container

Hi! Thanks for the great tool.

I am trying to run plannotate batch in a singularity container and I'm facing the below error.
My input file is a fasta file and the command is as below
plannotate batch -h -i reference.fasta

reference
TCGCGCGTTTCGGTGATGACGGTGAAAACCTCTGACACATGCAGCTCCCGGAGACGGTCA
CAGCTTGTCTGTAAGCGGATGCCGGGAGCAGACAAGCCCGTCAGGGCGCGTCAGCGGGTG
TTGGCGGGTGTCGGGGCTGGCTTAACTATGCGGCATCAGAGCAGATTGTACTGAGAGTGC
ACCATATGCGGTGTGAAATACCGCACAGATGCGTAAGGAGAAAATACCGCATCAGGCGCC
ATTCGCCATTCAGGCTGCGCAACTGTTGGGAAGGGCGATCGGTGCGGGCCTCTTCGCTAT
TACGCCAGCTGGCGAAAGGGGGATGTGCTGCAAGGCGATTAAGTTGGGTAACGCCAGGGT
TTTCCCAGTCACGACGTTGTAAAACGACGGCCAGTGGCGCGCCACATTGATTATTGACTA
GTTATTAATAGTAATCAATTACGGGGTCATTAGTTCATAGCCCATATATGGAGTTCCGCG
TTACATAACTTACGGTAAATGGCCCGCCTGGCTGACCGCCCAACGACCCCCGCCCATTGA

image

This error is not seen when I run in docker container.
Hope you can help me with this issue.
Thanks

use my own annotation file

Hi,
I am interested in using PLannotate on my own annotated file (e.g., in genebank format), how can I add this into the database? what formats are accepted in the database folder?
Thanks, appreciate it.

Installation instructions a bit unclear

Great tool, thanks for putting it together.

I have a few comments regarding the readme:

  • the 'releases' link leads to the first release which does not have a blast database
  • gunzipping the blast database results in a BLAST_dbs folder which also has another BLAST_dbs folder in it -- maybe it's helpful to clarify which needs to be in the pLannotate folder
  • a step missing after activating the Conda environment: we need to install the package
  • the command line batch example does not work without also specifying the path to the database with -b

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.