macos的右键菜单不同与windows那般自由,只能自定义快速操作来实现右键。

具体实现如下:
右键菜单的配置可以通过修改注册表实现。其基本项架构是如下配置,其中 command 参数可以是 %1 或 %V 或 %V %1 或 %V %1 %2 等。不同位置右键的配置位置不同,可以分为三类。1
2
3
4
5XXX/
(Default)='通过 XXX打开'
Icon='C:\Users\Administrator\Desktop\XXX.exe'
command/
(Default)="`"$exe_path`" `"%1`""
相关内容在 Registry::HKEY_CLASSES_ROOT\*\shell
下。
1 | $exe_path='C:\Users\Administrator\Desktop\Cursor.exe' |
相关内容在 Registry::HKEY_CLASSES_ROOT\Directory\shell
下。1
2
3
4
5
6
7
8
9
10
11
12
13
14
15$reg_base_path='Registry::HKEY_CLASSES_ROOT\Directory\shell'
$program_name='Cursor'
$message='通过Cursor打开'
$reg_path="$reg_base_path\$program_name"
$reg_command_path="$reg_path\command"
if (-not (Test-Path $reg_path)) {
New-Item $reg_path -Force
}
Set-ItemProperty -Path $reg_path -Name '(Default)' -Value $message
New-ItemProperty -Path $reg_path -Name 'Icon' -Value $exe_path
New-Item -Path $reg_command_path -Force
Set-ItemProperty -Path $reg_command_path -Name '(Default)' -Value "`"$exe_path`" `"%1`""
相关内容在 Registry::HKEY_CLASSES_ROOT\Directory\Background\shell
下。1
2
3
4
5
6
7
8
9
10
11
12
13
14
15$reg_base_path='Registry::HKEY_CLASSES_ROOT\Directory\Background\shell'
$program_name='Cursor'
$message='通过Cursor打开'
$reg_path="$reg_base_path\$program_name"
$reg_command_path="$reg_path\command"
if (-not (Test-Path $reg_path)) {
New-Item $reg_path -Force
}
Set-ItemProperty -Path $reg_path -Name '(Default)' -Value $message
New-ItemProperty -Path $reg_path -Name 'Icon' -Value $exe_path
New-Item -Path $reg_command_path -Force
Set-ItemProperty -Path $reg_command_path -Name '(Default)' -Value "`"$exe_path`" `"%V`""
2024年12月7日,滑铁卢大学的Ghodsi团队发表题为“Conditional Sequence-Structure Integration: A Novel Approach for Precision Antibody Engineering and Affinity Optimization”的抗体从头设计算法AIDA。
2024年12月3日,清华大学珠三角研究院人工智能创新中心的韩蓝青研究团队在Nature Scientific Data上在线发表了PPB-Affinity: Protein-Protein Binding Affinity dataset for AI-based protein drug discovery,整合了SKEMPI v2.0、PDBbind 2020和SabDab等数据源,整理构建一个PPI亲和力数据集,并基于IPA构建一套benchmark算法验证了数据集的价值。
本文是上交大洪亮团队发表在Nature Cell Discovery上的工作,提出了一种基于扩散的蛋白序列生成算法CPDiffusion。算法CATH 4.2和pAgo蛋白上训练,验证了其denovo生成的pAgo和KmAgo蛋白的生物活性。
原文链接:Diffusion Language Models Are Versatile Protein Learners
开源信息:GitHub - bytedance/dplm,Apache 2.0 License。
DPLM是字节跳动在ICML2024上提出的一种基于扩散的语言模型,用于蛋白质序列的生成。
论文:http://arxiv.org/abs/2310.02391
源码:https://github.com/dreamfold/foldflow
license:CC BY-NC-SA 4.0
FoldFlow算法是一种针对$\text{SE(3)}^N$分布定制的连续归一化流。算法通过条件流匹配(Conditional Flow Matching,CFM)来实现最优路径的学习。每个残基在空间中各种可能刚性分布构成一个SE(3)群,算法正是从N个残基的SE(3)中寻找一种合理的分布。