|
|
|
|
|
|
|
|
sample_j=$(echo $j | cut -f7 -d_) |
|
|
sample_j=$(echo $j | cut -f7 -d_) |
|
|
rep_i=$(echo $i | cut -f8 -d_) |
|
|
rep_i=$(echo $i | cut -f8 -d_) |
|
|
rep_j=$(echo $j | cut -f8 -d_) |
|
|
rep_j=$(echo $j | cut -f8 -d_) |
|
|
if [[ $sample_i == "LCL5" ] && [ $sample_j == "LCL6" ] && [ $rep_i == $rep_j ]];then |
|
|
|
|
|
|
|
|
if [ $sample_i == "LCL5" ] && [ $sample_j == "LCL6" ] && [ $rep_i == $rep_j ];then |
|
|
cat $i | grep -v '##' | cut -f1,2,4,5,10 | cut -d ':' -f1 > LCL5.txt |
|
|
cat $i | grep -v '##' | cut -f1,2,4,5,10 | cut -d ':' -f1 > LCL5.txt |
|
|
cat $j | grep -v '##' | cut -f10 | cut -d ':' -f1 > LCL6.txt |
|
|
cat $j | grep -v '##' | cut -f10 | cut -d ':' -f1 > LCL6.txt |
|
|
paste LCL5.txt LCL6.txt > sister.txt |
|
|
paste LCL5.txt LCL6.txt > sister.txt |