Comments (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)
- could we have an selection option to use blastp? HOT 5
- Support for different species HOT 4
- after pyir set up, pyir still can't be used with other species HOT 2
- Add license? HOT 1
- Murine blast? HOT 1
- Stops at 9%
- IGBLAST_TSV_HEADER misalignment
- Annotation for most alpha chains missing, but not for beta HOT 2
- Isotype annotation HOT 4
- Adaptive Biotechnologies data set HOT 4
- ABhelix data HOT 1
- I get an empty output json when running blastp on TCR data. HOT 4
- Failure in building docker image HOT 2
- tempfile.mkdtemp() causing "No space left on device error" HOT 1
- Allow argument for setting IGBlast word size HOT 3
- missing FR4 with PyIR 1.3 AIRR parser HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyir.