harbourlab / SparK

Publication quality NGS track plotting
102 stars 20 forks source link

Plot control group and treatment group in different tracks, with group auto scale for each type of data. #21

Open YiweiNiu opened 2 years ago

YiweiNiu commented 2 years ago

Hi,

Thanks very much for developing this useful tool!

I am plotting four tracks for ATAC-seq and RNA-seq data with one control and one treatment each (as below).

图片

I want to scale the RNA-seq data for control and treatment and scale the ATAC-seq for control and treatment group.

I wonder if there is any way to do this?

Also, it would be great to set different colors for these tracks, e.g. blue/red/blue/red.

This question may be related with issue 7

Thanks in advance.

Bests, Yiwei

harbourlab commented 2 years ago

Hi Niu,

Regarding the scaling I would use the custom scale “-cs” option (see GitHub page). That way you can enter the same y-axis label. The “-f” option allows you to choose any colors you like.

Hope this helps! Stefan


Stefan Kurtenbach, Ph.D. Research Assistant Professor Department of Ophthalmology, Bascom Palmer Eye Institute University of Miami Miller School of Medicine Sylvester Comprehensive Cancer Center Director, ISCI Pluripotent Stem Cell Laboratory

Biomedical Research Building Room 913 1501 NW 10th Avenue, Miami, FL 33136 305-243-3892 office, 786-252-4379 cell @.**@.>

On Mar 1, 2022, at 10:01 PM, Niu Yiwei @.**@.>> wrote:

CAUTION: This email originated from outside the organization. DO NOT CLICK ON LINKS or OPEN ATTACHMENTS unless you know and trust the sender.

Hi,

Thanks very much for developing this useful tool!

I am plotting four tracks for ATAC-seq and RNA-seq data with one control and one treatment each (as below).

[图片]https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F25263399%2F156286159-883a1d23-bd90-4dcb-ae47-91d121f713d6.png&data=04%7C01%7CStefan.Kurtenbach%40med.miami.edu%7C1ba7cee4d25b418c9df808d9fbf8f018%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C637817868876085776%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bBrsSquDjoSK9B5Va0HdK%2BmKJyENR2RYAx7lQLg4u%2Bk%3D&reserved=0

I want to scale the RNA-seq data for control and treatment and scale the ATAC-seq for control and treatment group.

I wonder if there is any way to do this?

Also, it would be great to set different colors for these tracks, e.g. blue/red/blue/red.

This question may be related with issue 7https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharbourlab%2FSparK%2Fissues%2F7&data=04%7C01%7CStefan.Kurtenbach%40med.miami.edu%7C1ba7cee4d25b418c9df808d9fbf8f018%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C637817868876085776%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=HctvKsBAFbzLwCR3ndiurTDabeouWrNmrt9n8laV4AQ%3D&reserved=0

Thanks in advance.

Bests, Yiwei

— Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharbourlab%2FSparK%2Fissues%2F21&data=04%7C01%7CStefan.Kurtenbach%40med.miami.edu%7C1ba7cee4d25b418c9df808d9fbf8f018%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C637817868876085776%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=RzNtBqBe9%2Bh09KmVaAGnUbiHsP4lwPn7nuhi74I0VD8%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHANDYXMHS3MNBUTYKJGGALU53KYHANCNFSM5PV7SNOA&data=04%7C01%7CStefan.Kurtenbach%40med.miami.edu%7C1ba7cee4d25b418c9df808d9fbf8f018%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C637817868876085776%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UqBCkYouGMgBv7AU%2F9WAlf%2BMX1o71w%2BJBeLC8lgBNOE%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CStefan.Kurtenbach%40med.miami.edu%7C1ba7cee4d25b418c9df808d9fbf8f018%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C637817868876085776%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9%2BOMjlPoubmfID4s5tYe9N9Jjh4vgoX9%2BwwqqTmiKqw%3D&reserved=0 or Androidhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CStefan.Kurtenbach%40med.miami.edu%7C1ba7cee4d25b418c9df808d9fbf8f018%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C637817868876085776%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UFkFlTIZG85LAwPmUEUZE0XqudgOFeQeyyPM17SSONk%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>