[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [modeller_usage] Change ROOT_NAME for automodel.make()
- To: Modeller Caretaker <>, "" <>
- Subject: Re: [modeller_usage] Change ROOT_NAME for automodel.make()
- From: Brian Wiley <>
- Date: Fri, 7 Aug 2020 22:47:13 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jhu.edu; dmarc=pass action=none header.from=jhu.edu; dkim=pass header.d=jhu.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AKjOmMzcTYI2rpBMOOa5kYvM0kwcIObxA2mPbaU0r5k=; b=ab+sKZdIZorun40W9L/97hAinudIJADNV9lb9uKxsUdFU5dj/kj0WmjBmyCJC1R4ZWmDpk2JQvhBlSFAkr8SdIDIkU3921ITHHPVNz0srD+nDcFkFTkw/UCDD+WHdFvGkJhwb+asnddjAT2t76UFuu2a0hYjwpVmLJc/fQTZq2LnkMfxJviHno6jHw0H8F0Nu1fHtzVGoZcCqBLKfGaASjfZkSiEDlvyM3XTWr1MNrQ5eFiE8N79e4msiYvxnflYkj0BF9BxbATehk0vhR3ipWF6tS46dKudClaSxvf4L4C0r5eOmBkdP68E3REEepFBIWXm5iggtKNsOG/qSyI0rw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TkD4/5dqFMO2VkE6eLJl0H/euyrbIkwSnVfX8c8FVsqawHBkcZbHNisAgRP+C+58HMQNLjbzWpZaF66NJQUdyNWAqKZtgHwjBoHMKMc1ii5KIoVPJHzNZz2QgTuyJu32I0uexl15zi3jjRLw49YE/C2YOemfJlxatnqtACLh50Bjcks6Hc/18eC9ENjyu5LQqNjoqtcoVYyaL3qtSgQhXENd/VjgYV6Vn6mrdh4Gvog1nZubNmCwkTS/f6vcDyXSI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xNvThb5v/L6+S/g2TUawMqycsyf2KmBFKfOcOUe7e7kaH78L6xx0c2uWYBIdX TMg=
- Msip_labels: MSIP_Label_72cd5554-7392-48bb-a738-f0f968bd337e_ActionId=42e106af-cbeb-46be-8cb3-4ad5ed814cb3; MSIP_Label_72cd5554-7392-48bb-a738-f0f968bd337e_ContentBits=0; MSIP_Label_72cd5554-7392-48bb-a738-f0f968bd337e_Enabled=true; MSIP_Label_72cd5554-7392-48bb-a738-f0f968bd337e_Method=Standard; MSIP_Label_72cd5554-7392-48bb-a738-f0f968bd337e_Name=72cd5554-7392-48bb-a738-f0f968bd337e; MSIP_Label_72cd5554-7392-48bb-a738-f0f968bd337e_SetDate=2020-08-07T22:44:30Z; MSIP_Label_72cd5554-7392-48bb-a738-f0f968bd337e_SiteId=9fa4f438-b1e6-473b-803f-86f8aedf0dec;
Thanks,
I would like to change the root_name for all the output file. It's kind of silly there is not class root_name attribute in automodel. Then you could just name that. I am having trouble overriding the __init__ in automodel because it calls self.set_defaults().
Brian
-----Original Message-----
From: Modeller Caretaker <>
Sent: Friday, August 7, 2020 6:34 PM
To: Brian Wiley <>;
Subject: Re: [modeller_usage] Change ROOT_NAME for automodel.make()
External Email - Use Caution
On 8/7/20 2:21 PM, Brian Wiley wrote:
> a = automodel(env,
> alnfile = 'TSC2_6ssh.ali',
> knowns = ('6ssh'),
> sequence = 'TSC2_HUMAN')
>
> a.make() # Here I want the prefix to be 'TSC2_6ssh' and not
> 'TSC2_HUMAN' so all files and pdb file at end would be
> TSC2_6ssh.B99990001.pdb
automodel is written under the assumption that files are named for the sequence. If you want to name the output PDB files differently, that's straightforward; just override get_model_filename() as per
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsalilab.org%2Fmodeller%2F9.24%2Fmanual%2Fnode76.html&data=02%7C01%7Cbwiley4%40jhu.edu%7C6f07e10ecf5f422a6fb208d83b21f0b7%7C9fa4f438b1e6473b803f86f8aedf0dec%7C0%7C0%7C637324364242278344&sdata=RDPF8YlYqQhS0HRwmdXsmHY9Hm0PnjFOFy37jBnK1bM%3D&reserved=0
If you want to name the other output files differently, there isn't currently a mechanism for that, but it would be easy enough to modify the Python code to do so.
Ben Webb, Modeller Caretaker
--
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsalilab.org%2Fmodeller%2F&data=02%7C01%7Cbwiley4%40jhu.edu%7C6f07e10ecf5f422a6fb208d83b21f0b7%7C9fa4f438b1e6473b803f86f8aedf0dec%7C0%7C0%7C637324364242278344&sdata=%2BLPF1vPPMdMoPDm6VViwhU5RkfSy%2BVREtTE85sZpqZI%3D&reserved=0
Modeller mail list: https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsalilab.org%2Fmailman%2Flistinfo%2Fmodeller_usage&data=02%7C01%7Cbwiley4%40jhu.edu%7C6f07e10ecf5f422a6fb208d83b21f0b7%7C9fa4f438b1e6473b803f86f8aedf0dec%7C0%7C0%7C637324364242278344&sdata=uiK%2BA8ii3KGFphxSpOnj1JdMGXQfdMsggwfdXG1goNw%3D&reserved=0
<<attachment: winmail.dat>>