Comments (1)
Hi Olga,
This was an interesting one!
Porechop can only determine Albacore's barcodes if it is given a whole Albacore directory for its input (-i
). Then for each fastq it finds in the directory, it looks for the barcode name in the path. For example, /barcode01/
in the path for this fastq:
workspace/pass/barcode01/fastq_runid_4409128d0616a0c2bb18e7405515d7fa445a812b_0.fastq
Porechop does not use the info in the read header (though that's not a bad idea - I'll consider adding it). So I suspect you ran Porechop only on the one file, not on the whole Albacore directory.
If my assumption is correct, Porechop never knew what the Albacore barcode call was. If you run Porechop like this porechop -i albacore_dir -b output_dir
, then I think it will put the read in the 'none' bin, as you expected.
What I found interesting about this case is this: Albacore got the barcode correct (barcode02) and Porechop got it wrong (barcode01).
Here's the alignment of barcode01 to your read's start:
TCATGCTTCGTTCAGTTACGTATTGCTTCAGTTCGTTTACATGAAAGTCGTCTGTGT-TTT-CGCATTTATCGAC
| |||||| ||| |||| ||| |
----------------------------------------AAGAAAGTTGTCGGTGTCTTTGTG-----------
And here's the alignment of barcode02:
TCATGCTTCGTTCAGTTACGTATTGCTTCAG-TT-CGTTTACATGAAAGTCGTCTGTGTTTTCGCATTTATCGAC
|| | || |||| || ||||||||||
---------------------------TC-GATTCCGTT----TG-TAGTCGTCTGT------------------
Barcode01 indeed looks like a better match (which is why Porechop called it as such), but I can see from the flanking sequences that the barcode01 alignment is in the wrong place and the barcode02 alignment is in the right place! In a rapid kit, the barcode is preceded by ...CGTATTGCT
and followed by GTTTTCGCA...
, which matches the barcode02 alignment.
It's an interesting case, and it makes me wonder if and how Porechop should be considering those flanking sequences. But I'm not too worried about it - I suspect it's an unusual case and Porechop would 'none' bin the read because of the Albacore disagreement.
I hope that clears it up. I'm going to close this issue now, but if something's still not right or you still have questions, please let me know!
Ryan
from porechop.
Related Issues (20)
- Fails to zip TEMP_*
- Custom adapters cannot be found when binning but can be found using trimming function HOT 1
- hie. is there anyone with the fasta sequences of the rapid barcode (RB) From RB01 to RB10. please help HOT 1
- Porechop demultiplexing error HOT 1
- Minimal length for custom barcodes
- Error: Porechop could not determine barcode orientation HOT 3
- OSError: [Errno 5] Input/output error
- citation HOT 2
- I would like to add custom barcodes, but retain native (Ligation kit) adapters HOT 2
- cpp_function error (again) HOT 2
- output isn't compressed
- Porechop Installation error
- installtion error
- installtion Error
- to discard or not to discard?.. reads with middle adapter
- Custom barcodes not found HOT 1
- Hi! Can you recommend a video to learn how to use porechop? HOT 1
- Demultiplexing - barcode bins HOT 3
- Number of reads increased after Porechop HOT 1
- porechop installation error
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 porechop.