[Seqinr-commits] r1954 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jun 21 10:28:48 CEST 2016


Author: jeanlobry
Date: 2016-06-21 10:28:48 +0200 (Tue, 21 Jun 2016)
New Revision: 1954

Modified:
   pkg/man/read.fasta.Rd
Log:
Example of a MAQ binary fasta file

Modified: pkg/man/read.fasta.Rd
===================================================================
--- pkg/man/read.fasta.Rd	2016-06-21 08:24:18 UTC (rev 1953)
+++ pkg/man/read.fasta.Rd	2016-06-21 08:28:48 UTC (rev 1954)
@@ -164,9 +164,8 @@
 # Example of a MAQ binary fasta file produced with maq fasta2bfa ct.fasta ct.bfa
 # on a platform where .Platform$endian == "little" and .Machine$sizeof.longlong == 8
 #
-\dontrun{
   fastafile <- system.file("sequences/ct.fasta.gz", package = "seqinr")
-  bfafile <- "ftp://pbil.univ-lyon1.fr/pub/seqinr/data/ct.bfa"
+  bfafile <- system.file("sequences/ct.bfa", package = "seqinr")
 
   original <- read.fasta(fastafile, as.string = TRUE, set.att = FALSE)
   bfavers <- read.fasta(bfafile, as.string = TRUE, set.att = FALSE, bfa = TRUE,
@@ -175,5 +174,4 @@
      warning(paste("trouble reading bfa file on a platform with endian =", 
      .Platform$endian, "and sizeof.longlong =", .Machine$sizeof.longlong))
   }
-  }
 }



More information about the Seqinr-commits mailing list