Skip to content

Commit

Permalink
adds option to extract barcode from read2 only
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSmithCGAT committed Mar 7, 2024
1 parent cac1f00 commit c229bd9
Show file tree
Hide file tree
Showing 9 changed files with 80,051 additions and 31 deletions.
5 changes: 5 additions & 0 deletions doc/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,8 @@
- **Can I use whitelist without UMIs?**

Strickly speaking, yes, but only with `--extract-method string`. If you use `--extract-method regex` and don't provide both a UMI and Cell barcode position in the regex, you'll get an error.

 
- **Can I extract barcodes from just read2?**

Yes, you can use --read2-only with `umi_tools extract` & `whitelist`. Previously, we had been recommending users achieve this by simply swapping the read1 and read2 input files around. That's still a viable approach.
1 change: 1 addition & 0 deletions tests/extract_help
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Options:
--3prime barcode is on 3' end of read.
--read2-in=READ2_IN
file name for read pairs
--read2-only Only extract from read2
--filtered-out=FILTERED_OUT
Write out reads not matching regex pattern to this
file
Expand Down
Loading

0 comments on commit c229bd9

Please sign in to comment.