Skip to content

f5c resquiggle output paf file (-c) outputs sc:f:0.0 #216

Description

@aya49

Hello there,

Thank you for developing f5c! Pardon me if this information is already somewhere.

I used f5c resquiggle with the -c tag to output a paf file, here is a snippet of that paf file:

fefc231f-98bd-4a84-ac3d-4839426547c7	14675	2302	14675	+	fefc231f-98bd-4a84-ac3d-4839426547c7	363	363	0	355	363	255	sc:f:0.000000	sh:f:0.000000	ss:Z:1520,42,13,25,7,15,23,10,99,24,21,23,27,19,18,46,21,8,84,37,8,30,35,43,61,96,23,18,19,38,41,49,33,43,23,11,25,11,30,30,53,16,20,215,25,36,15,14,52,94,7,68,59,16,28,28,10,11,7,11,122,5,24,35,37,17,27,1D21,10,14,13,12,19,18,125,13,26,57,21,7,6,96,120,10,33,71,27,65,16,8,73,10,28,6,24,87,15,31,28,48,12,58,7,7,138,54,7,35,108,270,27,18,23,34,12,1D23,29,22,1D14,1D17,51,15,12,38,27,22,19,5,25,14,48,19,15,45,20,51,21,45,23,33,34,16,32,14,100,19,18,82,19,88,15,16,8,33,30,37,34,11,30,33,31,8,47,8,22,7,41,22,14,122,26,23,22,11,15,18,13,20,18,38,22,13,27,16,36,20,22,22,30,28,14,39,288,21,15,17,10,23,11,15,19,21,40,8,15,16,32,19,18,17,37,21,21,48,18,25,52,7,13,29,17,57,35,12,32,13,69,117,11,115,19,20,31,17,14,39,15,41,15,25,14,26,63,95,24,16,1D56,17,22,20,11,7,40,20,7,55,18,7,23,25,25,19,24,16,34,37,26,7,8,53,25,27,16,18,16,36,8,44,22,5,10,103,32,18,41,23,14,17,29,21,18,33,25,15,20,10,44,1D58,8,7,7,21,45,42,32,8,29,23,23,63,10,13,7,1D95,23,12,29,36,1D10,7,17,14,8,13,11,17,18,8,22,54,54,9,21,23,62,17,32,14,43,17,7,6,6,25,19,17,44,10,14,26,13,59,10,26,8,
eb6457f4-0c62-4e47-b23c-b247ca4ff99e	14522	1113	14522	+	eb6457f4-0c62-4e47-b23c-b247ca4ff99e	259	259	0	253	259	255	sc:f:-0.000000	sh:f:0.000000	ss:Z:2654,1528,38,1126,20,8,20,29,19,27,145,34,13,23,116,55,7,27,34,21,30,5,13,49,102,17,23,25,6,27,8,110,16,14,26,52,41,26,7,7,17,12,23,43,19,12,1D137,7,96,20,10,10,76,19,47,18,57,45,13,35,13,15,61,109,16,15,11,59,142,12,15,33,139,18,7,12,49,7,8,10,7,5,27,59,20,17,36,45,25,20,16,26,38,44,31,23,86,142,23,15,58,1D11,26,17,42,8,78,36,32,24,34,11,30,8,28,29,14,19,16,33,34,20,35,11,15,65,11,43,26,56,82,38,7,33,63,30,19,24,14,13,20,15,7,27,42,22,12,30,8,1D37,35,10,81,22,59,13,11,16,14,8,7,10,39,9,7,134,22,11,25,31,23,16,32,17,28,54,17,7,27,21,10,33,23,9,77,80,16,52,33,23,30,44,37,21,8,11,12,9,22,19,18,40,28,21,88,36,15,10,13,13,12,53,27,180,14,46,297,44,19,7,9,44,16,16,18,1D68,1D29,14,22,34,24,8,80,54,17,11,15,16,29,22,10,133,16,12,23,15,23,12,24,62,15,9,1D20,
799073a0-c14e-4ac3-a461-c77b3b19c6e9	14238	1605	14238	+	799073a0-c14e-4ac3-a461-c77b3b19c6e9	295	295	0	290	295	255	sc:f:-0.000000	sh:f:0.000000	ss:Z:18,46,234,316,118,6,1D11,24,152,45,1629,44,10,51,509,13,12,7,17,22,25,15,40,12,30,14,77,43,26,77,9,9,10,11,21,69,11,1D8,10,10,76,94,47,68,17,27,48,22,22,23,6,13,13,79,14,15,21,37,21,25,47,7,72,148,22,23,15,14,44,33,26,27,35,23,79,24,68,51,31,7,61,126,7,10,39,12,183,53,40,9,24,51,10,41,10,43,64,36,8,24,51,36,7,9,459,22,44,12,29,41,38,11,17,44,5,7,9,40,22,19,8,8,36,74,33,48,10,21,38,23,68,19,11,42,97,82,153,56,14,23,18,47,45,42,7,56,21,11,36,31,21,10,26,14,27,11,7,33,8,42,13,8,90,36,13,74,33,79,30,8,15,22,36,17,19,40,50,50,97,14,27,112,94,19,12,51,38,30,40,11,55,37,25,50,40,28,6,23,12,54,69,12,15,1D16,23,48,10,17,11,1D19,24,14,7,45,61,127,27,13,1D62,8,8,30,57,45,27,27,44,13,10,145,21,46,25,142,29,13,7,37,64,11,25,64,15,35,20,11,23,76,7,64,7,9,13,8,73,7,65,13,9,19,17,26,10,42,13,40,17,18,14,12,26,13,15,39,15,13,60,17,11,9,7,14,37,26,49,30,14,9,14,61,

It's fine that sh is 0, but when sc is 0 or -0, division over 0 doesn't work --- should i be treating this sc = 0 as a sc = 1 instead?
Reference: https://hasindu2008.github.io/f5c/docs/output#resquiggle-paf-output

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions