Ensembl / Bio-DB-HTS

Git repo for Bio::DB::HTS module on CPAN, providing Perl links into HTSlib
Apache License 2.0
24 stars 16 forks source link

Ignore .gzi index files and clean test output files #84

Closed jmarshall closed 5 years ago

jmarshall commented 5 years ago

On a different topic from BioPerl — I'm glad that after five years they're getting on with splitting it up, but yeah living through the transition is not going to be fun :smile: — here is a small tidy up.

Most times when I run ./Build test I wind up with

Changes not staged for commit: modified: t/data/Saccharomyces_cerevisiae.R64-1-1.dna.chromosome.I.fa.gz.gzi

The .gzi index is generated alongside the .fai index when you faidx-index a compressed .fa file. (And it keeps changing in length for weird HTSlib reasons that are too boring to describe.) So it's appropriate not to track it in the repository; instead ignore it the same as .fai.

Also clean up the test output files (based on the list in .gitignore) when ./Build clean is used.

avullo commented 5 years ago

Hey John, it's good you feel inspired today :+1: I've never stumbled upon that problem and travis's not been of help here.

cheers