Cutting columns in Galaxy with semicolon delimiter
1
0
Entering edit mode
4.5 years ago

Hi guys! this is my first ever Biostars post

Short question: How could I delete everything after the semicolon in this file?

Input

Y74C9A.5.2:Y74C9A.5.1
Y48G1C.4a;CIGAR=1X;DP
Y48G1C.4a;CIGAR=1X;DP

Output

Y74C9A.5.2:Y74C9A.5.1
Y48G1C.4a
Y48G1C.4a

The only available delimiters for cut in Galaxy are tab, whitespace, dot, comma, dash, underscore and pipe.

annnotation galaxy delimiter cut • 905 views
ADD COMMENT
0
Entering edit mode
4.5 years ago

Nevermind guys, managed to solve my own problem (AddOrReplaceText ";" to "\t" and then cut "keep, delimiter tab, column 1")..

ADD COMMENT

Login before adding your answer.

Traffic: 2239 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6