I tried running the Unifier with the exact setup in this issue except that I set the SKIP_SUMS=1 flag (for clarity, I'm using the 1.0.8 docker image which I also eventually used to run the full Unifier in the last issue once I got it working). I get the following error only when setting the SKIP_SUMS=1 flag:
+ echo 'FAILURE running gene/exon unify, unexpected # of gene sum files: 12 vs. 0 (expected)'
FAILURE running gene/exon unify, unexpected # of gene sum files: 12 vs. 0 (expected)
+ exit -1
The error is coming from workflow.bash in this line:
#6 jx files per study (all + unique ID, MM, RR files)
num_expected=$(( num_studies * 6 ))
num_jx_files=$(find junction_counts_per_study -name "*.gz" -size +0c | wc -l)
if [[ $num_expected -ne $num_jx_files ]]; then
echo "FAILURE running gene/exon unify, unexpected # of gene sum files: $num_jx_files vs. $num_expected (expected)"
exit -1
fi
because num_studies is coming out 0 since the line it is defined in is in the if statement corresponding to running the recount sums which doesn't get run when SKIP_SUMS=1 is set:
Note, ${SAMPLE_ID_MANIFEST} should resolve to ids.tsv.studies which I can't find anywhere after the pipeline is finished (I do see it in the run_files when I run the Unifier without the SKIP_SUMS=1 flag).
Here are the contents of the working directory after the pipeline is finished:
Hi @ChristopherWilks ,
I tried running the Unifier with the exact setup in this issue except that I set the
SKIP_SUMS=1
flag (for clarity, I'm using the 1.0.8 docker image which I also eventually used to run the full Unifier in the last issue once I got it working). I get the following error only when setting theSKIP_SUMS=1
flag:The error is coming from
workflow.bash
in this line:because
num_studies
is coming out0
since the line it is defined in is in theif
statement corresponding to running the recount sums which doesn't get run whenSKIP_SUMS=1
is set:export num_studies=$(cat ${SAMPLE_ID_MANIFEST}.studies | wc -l)
Note,
${SAMPLE_ID_MANIFEST}
should resolve toids.tsv.studies
which I can't find anywhere after the pipeline is finished (I do see it in therun_files
when I run the Unifier without theSKIP_SUMS=1
flag).Here are the contents of the working directory after the pipeline is finished:
For completeness, here is my Unifier run command:
Thanks and regards,
Ramsey