Question: Get nothing using awk command in Text reformatting with awk
0
gravatar for fls6321
4 months ago by
fls632110
fls632110 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 • 143 views
ADD COMMENTlink modified 4 months ago by Jennifer Hillman Jackson25k • written 4 months ago by fls632110
2
gravatar for Jennifer Hillman Jackson
4 months ago by
United States
Jennifer Hillman Jackson25k 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 COMMENTlink written 4 months ago by Jennifer Hillman Jackson25k
1

Thank you Jennifer, now it works!

ADD REPLYlink written 4 months ago by fls632110
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: 68 users visited in the last hour