第二天笔记
服务器安装好miniconda
安装好IGV软件
-
aspra软件官网安装,配置环境变量,配置路径
<pre spellcheck="false" class="md-fences md-end-block ty-contain-cm modeLoaded" lang="shell" contenteditable="false" cid="n11" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit;">which conda #查看conda安装路径</pre>
<pre spellcheck="false" class="md-fences md-end-block ty-contain-cm modeLoaded" lang="shell" contenteditable="false" cid="n12" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"> cp /teach/software/ibm-aspera-connect-3.8.1.161274-linux-g2.12-64.tar.gz #复制软件
tar -zxvf ibm-aspera-connect-3.8.1.161274-linux-g2.12-64.tar.gz #解压
bash ibm-aspera-connect-3.8.1.161274-linux-g2.12-64.sh #运行
cd /trainee2/vip58/.aspera/connect
cd /bin
echo 'export PATH=/trainee2/vip58/.aspera/connect/bin:$PATH' >> ~/.bashrc #永久添加环境变量,写绝对路径
source ~/.bashrc #激活
ascp --help </pre>
下载结束后的结果示例:/teach/project/1.rna/1.sra_data
-
杀掉任务方法:
1.查看任务的方法:ps -ef|grep “vip58” 获取任务id 时间、任务详情、pid(第二列数字)
2.kill pid 杀掉进程
3.top -c 查看CPU占用情况 (提交消耗资源任务,先看剩余资源)
4.查看任务结果(时间不一定) ps -ef|grep “vip58”
循环:seq 3|while read id ;do echo $id ; echo "gene"; done