Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
igordot committed Jul 28, 2017
1 parent 9861176 commit f4776b8
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 15 deletions.
3 changes: 2 additions & 1 deletion segments/align-bismark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,11 @@ bismark_nucstats_original="${bismark_logs_dir}/${bismark_id}${suffix_nucstats}"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$bismark_bam_final" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
echo "${sample},${bismark_bam_final}" >> "$samples_csv"
exit 1
fi

Expand Down
3 changes: 2 additions & 1 deletion segments/align-bowtie2-atac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ flagstat_txt="${logs_dir}/${sample}.flagstat.txt"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$bam" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
echo "${sample},${bam}" >> "$samples_csv"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion segments/align-bwa-mem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ bwa_flagstat="${bwa_logs_dir}/${sample}.flagstat.txt"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$bam" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
Expand Down
2 changes: 1 addition & 1 deletion segments/align-star.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ star_prefix="${star_logs_dir}/${sample}."
#########################


# exit if output exits already
# exit if output exists already

# if final BAM exists
if [ -s "$bam" ] ; then
Expand Down
3 changes: 2 additions & 1 deletion segments/bam-dedup-bismark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ bismark_dd_report_original="${bismark_bam/%.bam/.deduplication_report.txt}"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$bismark_bam_dd_final" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
echo "${sample},${bismark_bam_dd_final}" >> "$samples_csv"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion segments/bam-dedup-sambamba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ bam_dd_flagstat="${dedup_logs_dir}/${sample}.flagstat.txt"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$bam_dd" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
Expand Down
2 changes: 1 addition & 1 deletion segments/bam-ra-rc-gatk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ gatk_rc_pdf="${gatk_logs_dir}/${sample}.pdf"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$bam_ra_rc" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
Expand Down
2 changes: 1 addition & 1 deletion segments/bam-rg-picard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ bam_rg="${bam_rg_dir}/${bam_base}.bam"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$bam_rg" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
Expand Down
3 changes: 2 additions & 1 deletion segments/fastq-trim-trimgalore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ fi
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$fastq_R1_trim" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
echo "${sample},${fastq_R1_trim},${fastq_R2_trim}" >> "$samples_csv"
exit 1
fi

Expand Down
3 changes: 2 additions & 1 deletion segments/fastq-trim-trimmomatic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ trimmomatic_log="${trimmomatic_logs_dir}/${sample}.txt"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$fastq_R1_trim" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
echo "${sample},${fastq_R1_trim},${fastq_R2_trim}" >> "$samples_csv"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion segments/snvs-gatk-hc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ vcf_fixed="${vcf_dir}/${sample}.vcf"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$vcf_original" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
Expand Down
2 changes: 1 addition & 1 deletion segments/snvs-lofreq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ vcf_fixed="${vcf_dir}/${sample}.vcf"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$vcf_original" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
Expand Down
2 changes: 1 addition & 1 deletion segments/snvs-mutect2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ vcf_fixed="${vcf_dir}/${sample_t}-${sample_n}.vcf"
#########################


# skip to annotation if output exits already
# skip to annotation if output exists already

annot_cmd="bash ${code_dir}/segments/annot-annovar.sh $proj_dir $sample $vcf_fixed"

Expand Down
2 changes: 1 addition & 1 deletion segments/snvs-strelka.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ vcf_combined="${vcf_dir}/${sample_t}-${sample_n}.all.vcf"
#########################


# skip to annotation if output exits already
# skip to annotation if output exists already

annot_cmd="bash ${code_dir}/segments/annot-annovar.sh $proj_dir $sample $vcf_combined"

Expand Down
2 changes: 1 addition & 1 deletion segments/species-fastqscreen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fastqscreen_txt="${fastqscreen_txt/.fastq.gz/}"
#########################


# exit if output exits already
# exit if output exists already

if [ -s "$fastqscreen_txt" ] ; then
echo -e "\n $script_name SKIP SAMPLE $sample \n" >&2
Expand Down

0 comments on commit f4776b8

Please sign in to comment.