Skip to content

Commit

Permalink
Update script.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaspe committed Aug 20, 2024
1 parent 5ef0e77 commit 6b11fb9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/fastqc/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ input_dir=$(dirname ${input[0]})

# Moves extracted output directory to current directory
if [[ -n "$par_extract" ]]; then
# Substitute .bam, .sam, .bam_mapped, .sam_mapped, and .fastq to .fq
input_html=$(echo ${input[$i]} | sed 's/\(\.bam\|\.sam\|\.bam_mapped\|\.sam_mapped\|\.fastq\)/.fq/g')
sample_name=$(basename $input_html .fq)
mv "$input_dir/$sample_name"_fastqc $(pwd)
mv "$input_dir/"*_fastqc $(pwd)
fi

# Both outputs args passed (html and zip)
Expand Down

0 comments on commit 6b11fb9

Please sign in to comment.