Skip to content

Commit

Permalink
Cellranger extract: changed default output directory name to just "<l…
Browse files Browse the repository at this point in the history
…inker>_outs"
  • Loading branch information
dnwillia23 committed Nov 18, 2024
1 parent a249c97 commit 5a552af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cellranger_extract_rename/v1.1/rename_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ fi
# If there is no OUTPUT_DIR supplied, then set to directory named by linker and input within current working directory
if [[ ${#OUTPUT_DIR} == 0 ]]; then
echo_verbose "WARNING: OUTPUT_DIR not specified!"
OUTPUT_DIR="./${LINKER}_${INPUT_NAME}"
OUTPUT_DIR="./${LINKER}_outs"
fi

echo_verbose "INFO: Writing files to ${OUTPUT_DIR}"
Expand Down Expand Up @@ -281,7 +281,6 @@ for FILE in ${FILE_LIST[@]}; do
echo_verbose "INFO: Found '_bam' in '${FILE}'"
NEW_FILE=${FILE//"_bam"/}
echo_verbose "INFO: Removed '_bam' to make '${NEW_FILE}'"
echo_verbose ""
cp ${INPUT_NAME}/${FILE} "${OUTPUT_DIR}/${LINKER}_${NEW_FILE}"
echo_verbose "INFO: Copying '${FILE}' to '${OUTPUT_DIR}/${LINKER}_${NEW_FILE}'"
echo_verbose ""
Expand Down

0 comments on commit 5a552af

Please sign in to comment.