joiningdata / lollipops

Lollipop-style mutation diagrams for annotating genetic variations.
GNU General Public License v3.0
182 stars 70 forks source link

font size change of the labels #19

Closed DecodeGenome closed 8 years ago

DecodeGenome commented 8 years ago

Hi,

I am wondering how to change the font size of AA labels and change the angle from 45 to 90. Thanks.

pbnjay commented 8 years ago

SVG Rotation is done here: https://github.com/pbnjay/lollipops/blob/master/drawing/svg.go#L88 Label font size is a few lines lower. You'll have to recompile to pull those in once you change them of course.

DecodeGenome commented 8 years ago

Hello Jeremy:

Thanks for your reply.

I am not computer expert. I need your more instructions.

I downloads lollipops-v1.3.2-mac64, I only can run ./lollipops xxx command, there is on where to change the code. I also tried to download source code , but I don’t know how to install it.

Would you mind guid me step-wise to change the code and install (recompile) it?

Thanks

Wei

From: Jeremy Jay notifications@github.com<mailto:notifications@github.com> Reply-To: pbnjay/lollipops reply@reply.github.com<mailto:reply@reply.github.com> Date: Monday, August 29, 2016 at 10:36 PM To: pbnjay/lollipops lollipops@noreply.github.com<mailto:lollipops@noreply.github.com> Cc: Wei Wu wei.wu@ucsf.edu<mailto:wei.wu@ucsf.edu>, Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [pbnjay/lollipops] font size change of the labels (#19)

SVG Rotation is done here: https://github.com/pbnjay/lollipops/blob/master/drawing/svg.go#L88 Label font size is a few lines lower. You'll have to recompile to pull those in once you change them of course.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/pbnjay/lollipops/issues/19#issuecomment-243337872, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APNhCHF-7ILUwheHQPCUHpZ_izAyHz_Nks5qk8FsgaJpZM4JwFV0.

pbnjay commented 8 years ago

Hi Wei,

If you're unable to understand how to change the code, I'd recommend just using it as-is and editing the resulting SVG in Adobe Illustrator or a similar tool. I don't think modifying the software is a good use of time for this request.

Cheers!

DecodeGenome commented 8 years ago

What you recommend is to generate the SVG without label, then add the label in illustrator? The problem is I have twenty to hundreds of mutations for dozens genes, Any other high-throughput way to do it.

Thanks anyways,

Best,

Wei

From: Jeremy Jay notifications@github.com<mailto:notifications@github.com> Reply-To: pbnjay/lollipops reply@reply.github.com<mailto:reply@reply.github.com> Date: Thursday, September 1, 2016 at 11:19 PM To: pbnjay/lollipops lollipops@noreply.github.com<mailto:lollipops@noreply.github.com> Cc: Wei Wu wei.wu@ucsf.edu<mailto:wei.wu@ucsf.edu>, Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [pbnjay/lollipops] font size change of the labels (#19)

Hi Wei,

If you're unable to understand how to change the code, I'd recommend just using it as-is and editing the resulting SVG in Adobe Illustrator or a similar tool. I don't think modifying the software is a good use of time for this request.

Cheers!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/pbnjay/lollipops/issues/19#issuecomment-244292741, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APNhCAXSH5L_wtP2h4YIdc_HzZUi5c4mks5ql8AKgaJpZM4JwFV0.