有时候,需要拷贝流程的脚本到自己的目录下执行。
涉及到,读取文件,
analysis_path=
file=
cd ${path}
cat ${file} | while read line
do
path=`echo -e $line | awk '{print $NF}'`
projectID=`echo -e $line | awk -F " " '{print $1}'`
Backup_script="$path/script/Seq_Backup_LC.sh"
cp $Backup_script ${analysis_path}/${projectID}_Seq_Backup_LC.sh
qsub -cwd -l vf=1g ${analysis_path}/${projectID}_Seq_Backup_LC.sh
done
网友评论