Project

ffc

0.0
No commit activity in last 3 years
No release in over 3 years
Support to convert file formats choosing from a preset UNIX command list
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

FFC

Gem Version Build Status Code Climate

File Formats Conversion Tool

Especially, this tool may be useful for bioinformatics.

Installation

Install it yourself as:

$ gem install ffc

Examples

To compile programs:

$ ffc convert sample.c a.out
$ ffc c sample.c a.out

To convert markdown file to HTML file:

$ ffc convert a.md a.html
$ ffc c a.md a.html

To convert "sam" format file to "bam" format file (It converts automatically if you do not know appreciate commands and parameters.):

$ ffc convert a.sam a.bam
$ ffc c a.sam a.bam

To show the whole list of available convert commands:

$ ffc list a.png
$ ffc l a.png

To show help:

$ ffc help [COMMAND]
$ ffc h [COMMAND]

When there are alternative tools, you can select one of them.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Notice

If there are no package to run a suggested command, this tool will install the package with brew install in default.

If you use another package manager such as apt, yum or conda, you can configure the default command. But there is no interface or guide yet.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/6br/ffc.