Comments (6)
from trimal.
Thank you for response.
I tried several variations because I was not sure, how to use it
trimal -in t1.fas -out t2.fas -select {0-592,4268-5581}
and
trimal -in t1.fas -out t2.fas -selectcols {0-592,4268-5581}
and without gap after option
trimal -in t1.fas -out t2.fas -selectcols{0-592,4268-5581}
and with a gap after bracket
trimal -in t1.fas -out t2.fas -selectcols { 0-592,4268-5581}
and without brackets at all
trimal -in t1.fas -out t2.fas -selectcols 0-592,4268-5581
When I use option -noallgaps, it is working perfectly
Thnx in advance.
from trimal.
Could you please try out? trimal -in t1.fas -out t2.fas -selectcols { 0-592,4268-5581 }
As parsing arguments from command-line in C++ is difficult, we decided that the best way to do it is by asking for the opening bracket "{", blank space, all individual columns and/or intervals together separated either by "," and/or "-"; then blank space, and the closing bracket "}"
Hope it helps,
S
from trimal.
Actually, I tried it in the first place. It did not work.
In the end, I trimmed these columns with mothur pcr.seqs, as my colleague suggested (in case, anyone would need this function).
Anyway, I used trimal to delete all-gaps columns and it was good for my purpose.
Thank you very much again.
from trimal.
Hi @scapella,
I am also struggling with the -selectcols
option. I've tried some of the variations with the "{}" symbols with space, without space, etc. However, when using it as the best way suggested e.g. -selectcols { 0-2142,0-2142 }
(here I want to delete the first 2142 columns of my alignment), the problem continues. I could spot an error from my terminal (I'm using z-shell on OS X Catalina).
I'm still stuck on this issue. So, if you can give me some lights on how to overcome it, I would really appreciate this.
Regards,
Camilo.
from trimal.
It seems that this is an issue with zsh parsing curly braces. You can either change to bash in your terminal or you can add a slash or single quotes to curly braces.
Option 1: exec bash
to change current shell and use the following arguments -selectcols { 0-2142,0-2142 }
Option 2: execute it with zsh and the following arguments -selectcols \{ 0-2142,0-2142 \}
or -selectcols '{' 0-2142,0-2142 '}'
As for what @darap888 commented,
Are you still having that error? Could specify which OS, shell and trimAl version are you using? What @scapella suggested should work fine (trimal -in t1.fas -out t2.fas -selectcols { 0-592,4268-5581 }
).
Thank you for your feedback!
Nicolás
from trimal.
Related Issues (20)
- Option to remove all ambiguous columns
- Removing gappy sequences HOT 1
- trimal: command not found
- remove columns with gaps in first line? HOT 1
- "Permission denied" when installing (MacOS M1 chip) HOT 1
- Between '-backtrans' and '-nogaps' parameter, Which one to use first?
- managing/ignoring warnings
- Better understand corner case for gappyout
- [Question] Is Linux/Mac ARM64 officially supported ? HOT 1
- Error: the symbol '*' is incorrect HOT 4
- WARNING: Removing column '743' composed only by gaps HOT 1
- Error message on alignment when using TrimAl HOT 1
- WARNING 010 HOT 4
- Specifying an alternative similarity matrix HOT 2
- Removing short sequences HOT 2
- Cutting header name to 10 letters/symbols HOT 2
- Error: the symbol 'Z' accesing the matrix is not defined in this object HOT 2
- errors of "Segmentation fault (core dumped)" HOT 2
- How to only trim terminal of the alignment with a threshold value of gap 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 trimal.