Comments (5)
If you want to run uncalled map
, you could tell UNCALLED to only map those reads with the -l
option. -l
takes a text file with one read ID per line, and it will only map reads from the FAST5 file which are contained in the text file.
If you want to run uncalled sim
you could do something similar by only including reads from each barcode in the sequencing summary file.
Another option, as you suggested, is to separate out the FAST5 files out using something like the ONT fast5 API. I'd only recommend this if you expect to run UNCALLED map or sim a number of times since it will save time loading the smaller number of FAST5s, at the expense of the time to run the initial command and additional disk space.
from uncalled.
Hi @skovaka thanks a lot for your advice. Using -l option means I should know which read belong to which sample. Where do I get this information?
from uncalled.
I'm not very familiar with barcoded data, but if you have separate fastq files for each sample you can find the read IDs in the fastq headers. Each header has the ID after the "@" and before the first space. You should be able to extract all read IDs from reads.fq
using the command awk 'NR % 4 ==1 {print substr($1, 2)}' reads.fq > read_ids.txt
.
from uncalled.
Okay I see but this means that I need to basecall my fast5 first, which I'd like to avoid. The best is to split the fast5 using some fast5 library to separate them first and then use uncalled. Probably ont_fast5_api can do this.
from uncalled.
I see, I didn't realize you were trying to avoid basecalling. As you initially suggested, you could map all reads to a fasta file containing genomes from all your samples, and then split based on which genome each read maps to. That would not take barcodes into account however, since that's not what UNCALLED was designed for.
from uncalled.
Related Issues (20)
- Error when running uncalled map HOT 5
- Computer Specifications HOT 1
- [QUERY] Can I test UNCALLED to always try and map only 2000 raw samples from FAST5 HOT 1
- Uncalled in ubuntu 16 HOT 3
- Segmentation fault in 'uncalled sim' HOT 3
- Floating point exception HOT 8
- uncalled failed to connect to minknow instance HOT 3
- Running Uncalled using Flongle flow cell HOT 2
- Updated Uncalled and Minknow No Longer Working HOT 4
- Generating sequencing summary from fast5 raw reads HOT 1
- [QUESTION] mapping to reference stringency HOT 1
- Installing UNCALLED4 error HOT 12
- [QUESTION] 10X run-time for reads of 500 raw signals HOT 12
- Visualising f5c resquiggle output in UNCALLED4 HOT 6
- Computer requirement for UNCALLED HOT 1
- `sim` segmentation error HOT 7
- Installation on Ubuntu (issue with compiler) HOT 5
- Sequenced reads are too short HOT 4
- New release HOT 2
- Remove mux scan windows from Flongle run 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 uncalled.