Skip to content

Commit

Permalink
modified arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sainirmayi committed Jan 31, 2024
1 parent 09b1a3b commit af58534
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/featurecounts/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ fi
[[ "$par_by_read_group" == "false" ]] && unset par_by_read_group
[[ "$par_long_reads" == "false" ]] && unset par_long_reads
[[ "$par_verbose" == "false" ]] && unset par_verbose
[[ "$par_version" == "false" ]] && unset par_version

IFS=";" read -ra input <<< $par_input

Expand Down Expand Up @@ -71,13 +70,13 @@ featureCounts \
${par_long_reads:+-L} \
${par_r_path:+--r_path "${par_r_path}"} \
${par_detailed_results_format:+-R "${par_detailed_results_format}"} \
${par_tmpdir:+--tmpDir "${par_tmpdir}"} \
${par_max_M_op:+--maxMOp "${par_max_M_op}"} \
${par_verbose:+--verbose} \
${meta_cpus:+-T "${meta_cpus}"} \
--tmpDir "$tmp_dir" \
-a "$par_annotation" \
-o "$par_output" \
-o "$par_output_counts" \
"${input[*]}"

[[ ! -z "$par_output_summary" ]] && mv "$par_output.summary" "$par_output_summary"
[[ ! -z "$par_output_junctions" ]] && mv "$par_output.jcounts" "$par_output_junctions"
[[ ! -z "$par_output_summary" ]] && mv "$par_output_counts.summary" "$par_output_summary"
[[ ! -z "$par_output_junctions" ]] && mv "$par_output_counts.jcounts" "$par_output_junctions"

0 comments on commit af58534

Please sign in to comment.