Question: Unable to run 'pdflatex'
0
gravatar for emilyc
13 days ago by
emilyc10
emilyc10 wrote:

Hi everyone,

I am using Rstudio for this at the moment. It appears that pdflatex won't function with msaPrettyPrint

picorna = readDNAStringSet("/home/emily/pipe/RNA_merge/SPAdes/RNA_merge_picorna_of_interest.fasta") 
picorna_seq = paste(picorna) 
picorna_name = names(picorna) 
picorna_df <- data.frame(picorna_name, picorna_seq) 
picorna_df

picorna_interest_alignment <- msaClustalW(picorna) print(picorna_interest_alignment, show = "complete") #shows full thing 
msaPrettyPrint(picorna_interest_alignment, output = "asis", y=c(7085,7245), showLogo = "none", askForOverwrite = FALSE, verbose = FALSE)

Error is as follows:

Error in texi2dvi(texfile, quiet = !verbose, pdf = identical(output, "pdf"),  : 
  unable to run 'pdflatex' on 'picorna_interest_alignment.tex'

Also

class(picorna_interest_alignment)

returns

[1] "MsaDNAMultipleAlignment"
attr(,"package")

[1] "msa"

Let me know what other information is needed. I have tried many many things. The alignment is relatively long, I have tried to subsection it with the same error resulting. Thanks in advance,

Emily

latex R • 86 views
ADD COMMENTlink written 13 days ago by emilyc10

This might be a stupid question, but do you have a LaTeX distribution installed?

You might consider this alternative approach, without R: C: Is there a command line tool that can take an alignment fasta and input and outp

ADD REPLYlink modified 13 days ago • written 13 days ago by Joe14k

Yup! I've got a LaTeX distribution installed.

I could find a solution to doing this another way, but I am most interested in understanding why it won't work. After testing examples it seems that it will work on package example, but not my sequence alignment. Not certain why.

ADD REPLYlink written 13 days ago by emilyc10

Have you got some other minimal data you can try/download?

It would be wise to figure out if this is a problem with your data (which given that their examples run, it sounds like it could be), rather than the program.

ADD REPLYlink written 12 days ago by Joe14k

The doc says:

It is important to point out that all file names need to be LaTeX-compliant, i.e. no special characters and spaces (!) are allowed.

This applies also to the path including to the path to the current directory where things are written to by default. On which OS are you? And do you have funny characters in your path?

ADD REPLYlink written 13 days ago by Jean-Karim Heriche20k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1974 users visited in the last hour