You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: When PASS= , the WDL crashes because it tries to cast an empty line to float PASS="$(bedtools intersect -a normal.callable -b tumor.callable -wao | awk '{sum+=$9} END{print sum}')"
pass_count = int(float("${PASS}"))
Solution: Replace PASS with this line instead so it starts at 0: PASS="$(bedtools intersect -a normal.callable -b tumor.callable -wao | awk 'BEGIN{sum=0} {sum+=$9} END{print sum}')"
The text was updated successfully, but these errors were encountered:
Problem: When
PASS=
, the WDL crashes because it tries to cast an empty line to floatPASS="$(bedtools intersect -a normal.callable -b tumor.callable -wao | awk '{sum+=$9} END{print sum}')"
pass_count = int(float("${PASS}"))
Solution: Replace
PASS
with this line instead so it starts at 0:PASS="$(bedtools intersect -a normal.callable -b tumor.callable -wao | awk 'BEGIN{sum=0} {sum+=$9} END{print sum}')"
The text was updated successfully, but these errors were encountered: