MD-Anderson-Bioinformatics / SAMMI

GNU General Public License v3.0
3 stars 1 forks source link

Read in reaction directionality? #6

Open wrcannon opened 2 years ago

wrcannon commented 2 years ago

Hi Andre, Is it possible to read in reaction flux directionality? That is, if I have a SAMMI map in which arrows are based on annotation in the json file and I read in reaction fluxes - some positive, some negative - I'd like to change the arrows in the map such that the arrows always point in the positive direction. Again, great tool! Thanks, Bill

schultzdre commented 2 years ago

Hi Bill, Unfortunately there is no way of doing that on-load. You would have to change that information on the json and the data before loading. After loading, however, you can choose the reactions you want to reverse and reverse their directionality using the "reverse reaction" button on the floating menu. That will also reverse their associated flux. Thanks again for using SAMMI! Andre

wrcannon commented 2 years ago

Thanks Andre for getting back to me so quickly. I see you are in industry now – thanks for taking the time to respond! I’ve started to write a python script to do this. Bill

From: Andre Schultz @.> Reply-To: MD-Anderson-Bioinformatics/SAMMI @.> Date: Monday, January 24, 2022 at 9:47 AM To: MD-Anderson-Bioinformatics/SAMMI @.> Cc: "Cannon, William R" @.>, Author @.***> Subject: Re: [MD-Anderson-Bioinformatics/SAMMI] Read in reaction directionality? (Issue #6)

Check twice before you click! This email originated from outside PNNL.

Hi Bill, Unfortunately there is no way of doing that on-load. You would have to change that information on the json and the data before loading. After loading, however, you can choose the reactions you want to reverse and reverse their directionality using the "reverse reaction" button on the floating menu. That will also reverse their associated flux. Thanks again for using SAMMI! Andre

— Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMD-Anderson-Bioinformatics%2FSAMMI%2Fissues%2F6%23issuecomment-1020371602&data=04%7C01%7CWilliam.Cannon%40pnnl.gov%7Cb83f2127011049fd901508d9df618930%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C637786432281367843%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=qCh5qIalwUXu9ubB3n6zLrdpfHNAEEMe2MRJ1ApxxCI%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADTGAVGBMUWSXT77MWQPHZDUXWGBTANCNFSM5MVZPLDA&data=04%7C01%7CWilliam.Cannon%40pnnl.gov%7Cb83f2127011049fd901508d9df618930%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C637786432281367843%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vDLuzD2zMU%2BBOQ7wpDJwbpi3xINgTw0DY2V42G1Vq%2Bs%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://gcc02.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%7CWilliam.Cannon%40pnnl.gov%7Cb83f2127011049fd901508d9df618930%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C637786432281367843%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=x7pu6V9NdENGj8TlIAWsX%2FSIKxG62zUUZps85gvThS4%3D&reserved=0 or Androidhttps://gcc02.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%7CWilliam.Cannon%40pnnl.gov%7Cb83f2127011049fd901508d9df618930%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C637786432281367843%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=1vnD9hroLIPll7HnRyO1KL6JCV1mlzQVDU399gMF4Yg%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>