Skip to content

lindenb/magic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magic

file command's magic pattern file for bioinformatics

Motivation: https://www.biostars.org/p/111642 "Tool that detects data types"

Compiling the magic file 'bioinfo.mgc'

$ make

Tested with file:

$ file --version
file-5.09

Examples

$ file -z -m bioinfo.mgc ex1.sam.gz
ex1.sam.gz: SAM file v1.0 sorted on coordinates (data)
$ file -z -m bioinfo.mgc file.bam
file.bam: BAM file v1.0 (data)
$ file -z -m bioinfo.mgc file.fasta
file.fasta: Fasta DNA sequence
$ file -z -m bioinfo.mgc file.vcf
file.vcf: VCF format 4.1
$ file -z -m bioinfo.mgc file.gz.tbi
file.gz.tbi: Tabix index file v1.0 (data) 

See also:

Author

Pierre Lindenbaum PhD @yokofakun

About

file command's magic pattern file for bioinformatics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published