-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filtered-out option error #509
Comments
This is an error the option checking code, sorry. I've submitted a fix, but in the mean time you can avoid it by specifying:
|
Thank you so much for your kind and quick response. I just tried your suggestion but it still gives errors (seems to be a different one). In v1.1.1, In v1.1.2, the last line of error seems to be changed to And this time, errors persisted even if I removed the filtered-out and filtered-out2 options. Best, |
Sorry, that regex should be:
|
Oh, sorry, now it worked perfectly. Thank you so much for your help! Best, |
Hello, I am having the same issue (error message). I do not have a white list and I did use a regex. The script runs fine without the --filtered-out option. I was wondering if there is a fix for it or a workaround.This is my command umi_tools extract --stdin=Data/reads/test2.fastq --log=analysis/Logs/umi/test2.log --filtered-out=analysis/Logs/umi/test2.filteredout.fastq --stdout=analysis/UMI_reads/test2.fastq --extract-method=regex --bc-pattern='.+(?P<discard_1>AACTGTAGGCACCATCAAT|GTTCAGAGTTCTACAGTCCGACGATC){s<=3}(?P<umi_1>.{12})(?P<discard_2>.+)' Thank you for your time, |
Hi Ermela, This is actaully a different issue, the same as was seen in #453. This should be fixed in the latest version, so you know which version you are using? |
Thank you for the quick response. Thank you, |
The error message in your post above says that line 446 is: however, line 446 in the latest commit is: UMI-tools/umi_tools/extract.py Line 446 in 5c2dd0f
note that your error says Is it possible that you have downloaded the latest commit, but thats not the one that is actually being run? What does |
You're absolutely right! The -- version gives me UMI-tools version: 1.1.1. I will try to figure out how to change this. |
I'm going to close this for now. Feel free to reopen if necessary. |
Hi, thank you for this wonderful tool.
I'm trying to use the --filtered-out option on umi_tools but have the errors below (both in v1.1.1 and v1.1.2).
umi_tools extract -I R1.fastq.gz \ --bc-pattern=CCCCCCCCCCCCCCCCNNNNNNNNNN \ --read2-in=R2.fastq.gz \ --stdout=process.R1.fastq.gz \ --read2-out=process.R2.fastq.gz \ --filter-cell-barcode --whitelist=CB.txt \ -L umi_tools.log \ --filtered-out=filtered-out.fastq.gz \ --filtered-out2=filtered-out.2.fastq.gz
I'm including the whitelist (of cell barcodes) but the error still says it's not defined. Also the script works fine if I don't add the filtered-out and filtered-out2 options. Did I miss something?
Thank you so much for your help.
Best,
The text was updated successfully, but these errors were encountered: