RepeatMasker icon indicating copy to clipboard operation
RepeatMasker copied to clipboard

rmToTrackHub.pl doesn't check exit status of bedToBigBig

Open diekhans opened this issue 1 week ago • 0 comments

Describe the issue

rmToTrackHub.pl exits 0 (success) even if bedToBigBed. falis

After discovering a corrupt bigbed align file, went back to look in the logs and found this:

Unsigned integer may not begin with minus sign (-) in field 13 line 2578 of t2t_h9_v01_hap1.fa.align.tsv, got\
 -1                                                                                                           

It is clear in the code that the exit status is not checked. Once I am able isolate the case that causes the bad .align.tsv, that will be another ticket.

# Make align file bigBed                                                                                                        
if ( $alignFile ) {                                                                                                             
$cmd = "$BEDTOBIGBED_PRGM -tab -as=$FindBin::RealBin/bigRmskAlignBed.as -type=bed3+14 $alignTSVFile $csizes $hubname/$alignFile.bb";                                                                                                                           
system($cmd);                                                                                                                   
}                                                                                                                               

diekhans avatar Dec 20 '25 03:12 diekhans