Git Product home page Git Product logo

Comments (1)

reccej avatar reccej commented on August 26, 2024 1

Hey Vadim,

Great to hear you're using PyIR as a part of your pipeline! I'll add more example files as time goes on, but I just uploaded one located at: https://clonomatch.accre.vanderbilt.edu/pyirfiles/1K.json.gz

The basic strategy for parsing the output files is to open the file and read it line-by-line, and treat each individual line as its own JSON object. Our sequencing pipeline is written largely in Python, and we handle these files generally like so:

import gzip
import json

with gzip.open('example.json.gz', 'rt') as fin:
  for line in fin:
    obj = json.loads(line.strip())
    print(obj['sequence_id'])

I'll leave this issue open as a reminder to revisit the examples on our end. Thanks for asking!

  • Sam

from pyir.

Related Issues (17)

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.