Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fusionfusionの新フィルタに対応するためのアップデート #14

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion genomon_pipeline_cloud/script/fusionfusion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
set -o errexit
set -o xtrace

INPUT_PREF=${INPUT_DIR}/${SAMPLE}
OUTPUT_PREF=${OUTPUT_DIR}/${SAMPLE}
mkdir -p ${OUTPUT_DIR}

if [ "_${MERGED_COUNT_DIR}" != "_" ]; then
OPTION="${OPTION} --pooled_control_file ${MERGED_COUNT_DIR}/${PANEL_NAME}.merged.Chimeric.count"
fi
/usr/local/bin/fusionfusion --star ${INPUT} --out ${OUTPUT_DIR} --reference_genome ${REFERENCE} ${OPTION}
/usr/local/bin/fusionfusion --star ${INPUT_PREF} --out ${OUTPUT_DIR} --reference_genome ${REFERENCE} ${OPTION}

mv ${OUTPUT_DIR}/star.fusion.result.txt ${OUTPUT_DIR}/${SAMPLE}.star.fusion.result.txt
mv ${OUTPUT_DIR}/fusion_fusion.result.txt ${OUTPUT_DIR}/${SAMPLE}.genomonFusion.result.txt
Expand Down
4 changes: 2 additions & 2 deletions genomon_pipeline_cloud/tasks/fusionfusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def task_file_generation(self, output_dir, task_dir, sample_conf, param_conf, ru
with open(task_file, 'w') as hout:

hout.write('\t'.join(["--env SAMPLE",
"--input INPUT",
"--input-recursive INPUT_DIR",
"--output-recursive OUTPUT_DIR",
"--env OPTION",
"--env FILT_OPTION",
Expand All @@ -41,7 +41,7 @@ def task_file_generation(self, output_dir, task_dir, sample_conf, param_conf, ru
bam_dir = os.path.dirname(bam)

record = [sample,
bam_dir +"/"+ sample + ".Chimeric.out.sam",
bam_dir,
output_dir + "/fusion/" + sample,
param_conf.get("fusionfusion", "fusionfusion_option"),
param_conf.get("fusionfusion", "filt_option"),
Expand Down