Location>code7788 >text

Allen gene mapping: python Aabgen installation

Popularity:97 ℃/2024-09-02 17:08:17

1. abagen The official link to the tutorial on how to use it:abagen: A toolbox for the Allen Brain Atlas genetics data — abagen 0.1.3-doc+0. documentation

2. Before installing abagen, install the following packages in advance

Window system operation steps:
(1) Install python (if installed on the E drive, E:\python\).

(2) Win+R to open the task manager, enter cmd to enter the terminal

(3) Locate the path to the python "Scripts" file: First, type E: in the terminal, then enter, and then type cd E:\python\Scripts (you will need to cd to this path when you use the pip command to install it later).

(4) use pip install command to install the above packages at a time: in the terminal type: pip install numpy , after successful installation continue to install the next, pip nibabel, and so on. ......

Link:abagen: A toolbox for the Allen Brain Atlas genetics data — abagen 0.1.4+15. documentation

(5) Additional download another package setuptools, the subsequent installation of abagen need, terminal input command: pip install setuptools

(6) Go to the GitHub link and download the latest abagen package (although you can also download it through the command pip install abagen, but this method of downloading abagen sometimes may not be the latest, in the subsequent use of the abagen will encounter some bugs, so it is best to download it through GitHub, once and for all)

GitHub Link:GitHub - rmarkello/abagen: A toolbox for working with Allen Human Brain Atlas microarray expression data

(If the GitHub link doesn't work, you can also search directly on the browser search page: GitHub abagen)

(7) Download the file zip and unzip it (assuming it is unzipped under this path E:\abagen-main)

(8) Enter the terminal again and locate the path to the extracted file above (i.e., locate the path where the file is located): in the first step, enter E: in the terminal; enter and then enter cd E:\software\abagen-main

(9) To install abagen, enter the following command: python install

Great job!