-
Notifications
You must be signed in to change notification settings - Fork 41
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
Whether deblur trim the read length with multipile sequence alignment? #196
Comments
Hi,
Does this make sense? Cheers |
It make sense! thank you for your explanation. |
Hi Deblur team! Thank you! |
Hi @AnalissaFSarno, yup! See below $ deblur trim --help
Usage: deblur trim [OPTIONS] SEQS_FP OUTPUT_FP
Trim FASTA sequences
Options:
-t, --trim-length INTEGER Sequence trim length [required]
--log-level INTEGER RANGE Level of messages for log file(range 1-debug to
5-critical [default: 2]
--log-file PATH log file name [default: deblur.log]
--help Show this message and exit. |
Hi @wasade, thank you for your quick reply. I tried the following command: And got the following error: Then when I try: I get the following error: Error: no such option: --left_trim_len Any guidance would be greatly appreciated! |
That looks like it may be a bug. This isn't a commonly used method from deblur afaik as generally the use is via "workflow" A separate option, assuming your fasta identifiers are short, is to use linux commands: $ cut -c 1-355 100seqs.fna Trim.100seq.fna ...that will keep the first 355 columns in the file |
This worked, thank you so much for your help!
…On Fri, Oct 2, 2020 at 1:49 PM Daniel McDonald ***@***.***> wrote:
That looks like it may be a bug. This isn't a commonly used method from
deblur afaik as generally the use is via "workflow"
A separate option, assuming your fasta identifiers are short, is to use
linux commands:
$ cut -c 1-355 100seqs.fna Trim.100seq.fna
...that will keep the first 355 columns in the file
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#196 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARHNTVA2H7BTH2ZP36V6E23SIYVFBANCNFSM4GQICAGQ>
.
|
I got a question along similar lines and a quick google search didn't really turn up anything useful: Do the reads need to strictly start at the same position or can I do some quality trimming at the front after removing the primers? |
Reads should be the same length, and relative to the same 5' position; I recommend against quality trimming. |
As the deblur require uniform length and usually there is a parameters to trim sequences, I am wondering for the trimming process, whether deblur firstly did a alignment and then trim to the target length?
If the length of long sequences are trimmed just at the front or the end of a sequences, the left fragment was probably not that good to compare across different sequences.
Thank you very much.
The text was updated successfully, but these errors were encountered: