Comments (1)
For your case, barcodes[read.id]
means random access to read from file with given id. This step will firstly extract read information from index file (a sqlite database file). This may be very slow when processing large numbers of reads.
I am a little confused that why do you use read.id
rather than read.name
to extract reads. That means your reads in this two files are synchronous.
If you use name to extract reads from another file, you can use multiple threads to speedup.
from pyfastx.
Related Issues (20)
- UnicodeDecodeError: 'utf-8' codec can't decode bytes in position HOT 4
- Does current pyfastx support py2.7 version? HOT 2
- [Feature Request] Get barcodes from Fastx function HOT 1
- Import Error HOT 3
- Fastx parser vs Fasta/Fastq parsers HOT 2
- Unable to index gzipped fasta file by name: KeyError: 'chrY does not exist in fasta file' HOT 1
- SystemError: <class 'Fasta'> returned a result with an error set; on loading gzipped fasta HOT 2
- Support Python 3.11 on conda? HOT 3
- Unicode error reading large fastq with index? HOT 2
- Cannot read input file with Chinese text in filename HOT 2
- Segmentation fault using .composition on each contig HOT 2
- How to get antisense sequence from any strings ? HOT 1
- Memory leak in Fastq read (probalby .quali) HOT 2
- Pointer being freed was not allocated error with `memory_index=True` HOT 2
- Full Fasta info object without index building HOT 1
- Building/installing `pyfastx` from source is not possible due to zlib upgrade
- Pyfastx.read.raw mangling reads HOT 8
- Making invalid slices return an empty string instead of None HOT 1
- Sequence compostion HOT 2
- read.seq end with read.name when using pyfastx.Fastq in parsing long read FASTQ file HOT 4
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 pyfastx.