bin/gff3-fetch in bio-gff3-0.6.0 vs bin/gff3-fetch in bio-gff3-0.8.0

- old
+ new

@@ -2,53 +2,56 @@ # # Author:: Pjotr Prins # Copyright:: August 2010 # License:: Ruby License # -# Copyright (C) 2010 Pjotr Prins <pjotr.prins@thebird.nl> +# Copyright (C) 2010,2011 Pjotr Prins <pjotr.prins@thebird.nl> USAGE = <<EOM Fetch and assemble mRNAs, or CDS and print in FASTA format. gff3-fetch [--no-cache] mRNA|CDS [filename.fa] filename.gff Where: - --no-cache : do not load everything in memory + --no-cache : do not load everything in memory (slower) mRNA : assemble mRNA CDS : assemble CDS Multiple GFF3 files can be used. For external FASTA files, always the last one before the GFF file is used. Examples: Find mRNA and CDS information from test.gff3 (which includes sequence information) - ./bin/gff3-fetch mRNA test/data/gff/test.gff3 - ./bin/gff3-fetch CDS test/data/gff/test.gff3 + gff3-fetch mRNA test/data/gff/test.gff3 + gff3-fetch CDS test/data/gff/test.gff3 - Find CDS from exteranl FASTA file + Find CDS from external FASTA file - ./bin/gff3-fetch cds test/data/gff/MhA1_Contig1133.fa test/data/gff/MhA1_Contig1133.gff3 + gff3-fetch CDS test/data/gff/MhA1_Contig1133.fa test/data/gff/MhA1_Contig1133.gff3 Find mRNA from external FASTA file, without loading everything in RAM - ./bin/gff3-fetch --no-cache mRNA test/data/gff/test-ext-fasta.fa test/data/gff/test-ext-fasta.gff3 + gff3-fetch --no-cache mRNA test/data/gff/test-ext-fasta.fa test/data/gff/test-ext-fasta.gff3 If you use this software, please cite http://dx.doi.org/10.1093/bioinformatics/btq475 +== Copyright +Copyright (C) 2010,2011 Pjotr Prins <pjotr.prins@thebird.nl> + EOM rootpath = File.dirname(File.dirname(__FILE__)) $: << rootpath+'/lib' $: << rootpath+'/../bioruby/lib' -require 'bio/db/gff/gffdb' +require 'bio-gff3' -$stderr.print "BioRuby GFF3 Plugin Copyright (C) 2010 Pjotr Prins <pjotr.prins@thebird.nl>\n\n" +$stderr.print "BioRuby GFF3 Plugin Copyright (C) 2010,2011 Pjotr Prins <pjotr.prins@thebird.nl>\n\n" if ARGV.size == 0 print USAGE end