Skip to content

Commit bc79b7d

Browse files
add PE notation
1 parent e597bd7 commit bc79b7d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ChIPseq_Pipeline_v4/ChIPseq-pipeline_v4.sbatch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module purge
2828
# FLMKR -- filemaker IDs from Datasets of ChIP samples in "-"-delimited and quoted list #
2929
# Should not be strain IDS. Will be incorporated into all MACS2-related files. #
3030
# REQUIRED for replicates and ChIP-vs-ChIP normalization. #
31+
# PE -- Whether or not the samples are paired-end and should be treated as such [ default: "F" ] #
3132
# #
3233
# CHIP vs CHIP NORMALIZATION #
3334
## For mock controls, no tag controls, or histones #
@@ -369,12 +370,11 @@ if [[ $BDG =~ [Tt] || $PEAK != "" || $WIG =~ [Tt] ]]; then
369370
~/ChIPseq_Pipeline_v4/MACS2_FE_W4.sbatch | awk '{print $NF}')
370371
fi
371372
fi
372-
fi
373373

374374
#################### rDNA Pipeline ################
375375
# only runs if using the entire pipeline [Bowtie included]
376-
if [[ $GENROOT2 != "" ]]; then
377-
change_genroot $GENROOT2
376+
if [[ $GENROOT2 != "" ]]; then
377+
change_genroot $GENROOT2
378378
if [[ $REP == "" ]]; then
379379
define_MACS2_filenames $TAGC $ROOTF $ROOTFR "NORMAL" $FLMKR
380380
else
@@ -385,6 +385,7 @@ if [[ $GENROOT2 != "" ]]; then
385385
jids+=$(sbatch $DEPR \
386386
--export FLDR=$FLDR,WIG="RDNA",PEAK=$PEAK,TREAT="$TREAT1R",CONTROL="$CONTROL1R",FOLDER=$FOLDER,M2FILE=$M2FILE,PE=$PE \
387387
~/ChIPseq_Pipeline_v4/MACS2_FE_W4.sbatch | awk '{print $NF}')
388+
fi
388389
fi
389390

390391
################### CLOSING FUNCTION ################

0 commit comments

Comments
 (0)