脚本记录之snp-calling【终】

CSDN:记录bug史

#!/bin/bash
#PBS -N kissplice
#PBS -l nodes=zhangxclab002:ppn=12
#PBS -q batch
#PBS -V
#PBS -S /bin/bash
myPATH="/home/usr/transnp"
rawdata="/home/usr/transnp/rawdata"

#Write before all:
#		if you use conda, please activate your environment needed in these scripts;
#		1. and 2. step can run together without conflict
#1. transdecoder1.sh & transdecoder2.sh : output .bed files;
#2. kissplice.sh : output *type_0a.fa file;
#3. blat.sh needs rawdata,type_0a.fa,blat.psl;
#4. kiss2reftran.sh relies on the previous four script-outputs;
#5. finally run clean.sh to put the same file type to one directory, thus clean the screen to make tidy results.

transdecoder1.sh(){
   
##############################################################transdecoder1.sh################################################
#判断.fa文件并按顺序执行
cd $myPATH
dir=$(ls -l $rawdata |awk '!/^d/ {print $NF}' |grep -i ".fa" )
for i in $dir
	do
		/home/usr/packages/TransDecoder-master/TransDecoder.LongOrfs -t $rawdata/$i 
	done
}

transdecoder2.sh(){
   
##############################################################transdecoder2.sh################################################
#判断.fa文件并按顺序执行
cd $myPATH
dir=$(ls 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值