Giter Club home page Giter Club logo

icap_crawler's Introduction

ICAP_Crawler v0.7

By Peter Rucker

TLDR:

Pulls useful antigen -> IIF ANA Pattern relationships from the ICAP website, and condenses them into TSV formats.

To use, run main.py

Long Version:

This project started as a way to more easily understand the relationship between ANA IIF patterns on HEp-2/HEp-2000 cells, and the antigens responsible for producing those pattern. Although the ICAP website maintains an exhaustive list of patterns, related antibodies, and their associated disease states, the information is spread across multiple locations on their website.

The Pattern class, when initilized accepts an AC Number (per ICAP guidlines) or the URL of the ICAP pattern webpage. Afterwhich it crawls the relevant page, and collects the following information to store within the pattern object:

  • AC Number
  • Pattern Name
  • Associated Antigens
  • Previous Names
  • Pattern Description

If given a list of pattern objects, the DataWriter.antigen_data_format or DataWriter.pattern_data_format will create a list of strings ready to be written to a TSV file. Antigen format creates an entry for every antigen and assocaites a pattern, while pattern format creates an entry for every name and alternative name associated with their antigens.

Lastly, DataWriter.file_writer accepts this output, and creates the TSV files. If a previous file with the same name is detected, and comparison is made, and differences captured to a changelog.

Requirements

Please see requirements.txt

Roadmap

Future versions will attempts to correlate possible disease states to IIF pattern.

icap_crawler's People

Contributors

nekose avatar

Stargazers

 avatar

Watchers

 avatar

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.