Question: Get nothing using awk command in Text reformatting with awk
0
gravatar for fls6321
10 months ago by
fls6321 • 10
fls6321 • 10 wrote:

Hi dear all

I tried run this command awk '{printf($1"\t"$2"\t"$3"\t"); printf("%.5f\n", ($4*0.8))}' on the selected data file, but the output file is empty.... and I cant figure out why, could you please tell me how to run awk command on galaxy?

best

galaxy • 316 views
ADD COMMENT • link • modified 10 months ago by Jennifer Hillman Jackson ♦ 25k • written 10 months ago by fls6321 • 10
2
gravatar for Jennifer Hillman Jackson
10 months ago by
United States
Jennifer Hillman Jackson ♦ 25k wrote:

Hello,

Try running the command with just this pasted into the tool form box:

{printf($1"\t"$2"\t"$3"\t"); printf("%.5f\n", ($4*0.8))}

Thanks! Jen, Galaxy team

ADD COMMENT • link written 10 months ago by Jennifer Hillman Jackson ♦ 25k
1

Thank you Jennifer, now it works!

ADD REPLY • link written 10 months ago by fls6321 • 10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 183 users visited in the last hour