Skip to content

Commit

Permalink
dev updates Tue 8 Sep 2015 13:14:25 BST
Browse files Browse the repository at this point in the history
  • Loading branch information
snewhouse committed Sep 8, 2015
1 parent d714184 commit 57c29fb
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions bin/ngseasy_trimmomatic
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,17 @@ fi
########################################################################################################
# adapter_fa : check of this is in palce and exit if not
########################################################################################################
adapter_fa="/home/pipeman/ngs_projects/ngseasy_resources/reference_genomes_b37/contaminant_list.fa"

if [[ ${GENOMEBUILD} == "b37" ]]; then
adapter_fa="/home/pipeman/ngs_projects/ngseasy_resources/reference_genomes_b37/contaminant_list.fa"
elif [[ ${GENOMEBUILD} == "hg19" ]]; then
adapter_fa="/home/pipeman/ngs_projects/ngseasy_resources/reference_genomes_hg19/contaminant_list.fa"
elif [[ "${GENOMEBUILD}" == "hs37d5" ]]; then
adapter_fa="/home/pipeman/ngs_projects/ngseasy_resources/reference_genomes_hs37d5/contaminant_list.fa"
elif [[ "${GENOMEBUILD}" == "hs38DH" ]]; then
adapter_fa="/home/pipeman/ngs_projects/ngseasy_resources/reference_genomes_hs38DH/contaminant_list.fa"
fi

logger_ngseasy "[${NGSEASY_STEP}]:setting adaptor list docker dir [$adapter_fa]" ${LOGFILE}

########################################################################################################
Expand Down Expand Up @@ -464,8 +474,8 @@ logger_ngseasy "[${NGSEASY_STEP}]:START qc of raw fastq files" ${LOGFILE}
logger_ngseasy "[${NGSEASY_STEP}]:TRIM set to [$TRIM] - adaptor trim. Adaptor and read quality trimming" ${LOGFILE}

## get ngs_resource mapping
myresources=`dirname ${PROJECT_DIR}`
NGSResources="${myresources}/ngs_resources"
##myresources=`dirname ${PROJECT_DIR}`
##NGSResources="${myresources}/ngseasy_resources"

## run trimmomatic
#
Expand Down

0 comments on commit 57c29fb

Please sign in to comment.