This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Cutting columns in Galaxy with semicolon delimiter

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

1 answer

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

Log in to answer this question.