Skip to content

NCBI unofficial lib integrated with discord bot.

Notifications You must be signed in to change notification settings

0x0is1/R.O.C.E-MarkII

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROCE -MarkII

Description

Roce is a discord bots series of unique bots, this version is mark 2, which is used to connect ncbi cli API embedded in discord.py for genetical engineerng and research purpose with some easter eggs features.

This tool is based on our previous developed cli tool for ncbi data access glimmer. glimmer is a tool which do not really uses ncbi data api but, it uses it's scrapping feature to get data from rendered webpages from ncbi's official website.

Install

You can use this invite link to call this bot on your server, if you are genetic engineering or student, it is available for public usage.

Host

You can also host this bot by using following processes:

  • Download this repository directly or by using git cli i.e-
> git clone https://github.com/0x0is1/R.O.C.E-MarkII
> python3 -m pip install requirements.txt
> export EXPERIMENTAL_BOT_TOKEN='<Your bot token here>'
> python3 mark2.py

Requirements

  • Python3.5+
  • python-requests
  • discord.py
  • Beautifulsoup (bs4)
  • urllib

Compatibilty (for hosting this bot personally)

Any device that can run discord bots including raspberry pi and other OS'es.

Commands

  • set : Command used for seting parameters to get data.
  • get : Command used for getting parameter.
  • search: command used to make search for genetic materials.
  • option: command used for getting options saved.

Type help <COMMAND_NAME> to get help for specific command.

Sub-commands

set:

  • Description: used for setting item id and item type.
  • Example: set id 1798174254 and set type nuccore
  • Options for item type:
    • Nucleotide (nuccore)
    • Genes (gene)
    • Protein (protein)
    • Probe (probe)
    • Popset(popset)

Options for item id: use search <ITEM_TYPE> <ITEM_NAME> to get ids.

get:

  • Description: use for getting data for saved item id and item type.
  • Example: get gene, get cds etc.
  • Options for get:
    • Name (name)
    • Overview (overview)
    • Comments (comment)
    • Gene (gene)
    • Stem Loop (stem-loop)
    • Peptide (peptide)
    • CDS (cds)
    • Source (source)
    • All(soup)

search:

  • Description: use for searching data for specific detail type.
  • Example: search nuccore SARS, search gene rept etc.
  • Options for item type:
    • Nucleotide (nuccore)
    • Genes (gene)
    • Protein (protein)
    • Probe (probe)
    • Popset(popset)

Feedback and bug report

Send feedback or bug report to our developers on this mail id.

Previews

peview-1

peview-2

peview-3

About

NCBI unofficial lib integrated with discord bot.

Resources

Stars

Watchers

Forks

Packages

No packages published