@@ -500,8 +500,9 @@ private void deleteFile(File f, Logger log) throws IOException
500500 private static FileType _bamFileType = new FileType ("bam" );
501501 private static FileType _cramFileType = new FileType ("cram" );
502502 private static FileType _vcfFileType = new FileType ("vcf" , FileType .gzSupportLevel .SUPPORT_GZ );
503- private static FileType _bedFileType = new FileType ("bed" );
503+ private static FileType _bedFileType = new FileType ("bed" , FileType . gzSupportLevel . SUPPORT_GZ );
504504 private static FileType _fastaFileType = new FileType (Arrays .asList ("fasta" , "fa" ), "fasta" , FileType .gzSupportLevel .SUPPORT_GZ );
505+ private static FileType _gxfFileType = new FileType (Arrays .asList ("gtf" , "gff" , "gff3" ), "gff" , FileType .gzSupportLevel .SUPPORT_GZ );
505506
506507 /**
507508 * This is intended to return any files associated with an input, which is primarily designed to pick up index files
@@ -532,9 +533,17 @@ else if (_vcfFileType.isType(f))
532533 ret .add (f .getName () + ".gz.idx" );
533534 }
534535 }
535- else if (_bedFileType .isType (f ))
536+ else if (_bedFileType .isType (f ) || _gxfFileType . isType ( f ) )
536537 {
537538 ret .add (f .getName () + ".idx" );
539+ ret .add (f .getName () + ".tbi" );
540+
541+ if (includeGz )
542+ {
543+ ret .add (f .getName () + ".gz" );
544+ ret .add (f .getName () + ".gz.tbi" );
545+ ret .add (f .getName () + ".gz.idx" );
546+ }
538547 }
539548 else if (_fastaFileType .isType (f ))
540549 {
0 commit comments