Skip to content

Commit

Permalink
export alignment_length
Browse files Browse the repository at this point in the history
  • Loading branch information
hng committed Mar 17, 2015
1 parent 6c2ec2c commit c92252b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/MAFFT/mafft.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
- group to group alignments
"""
module MAFFT
export mafft, mafft_from_string, mafft_linsi, linsi, mafft_ginsi, ginsi, mafft_einsi, einsi, mafft_fftnsi, fftnsi, mafft_fftns, fftns, mafft_nwnsi, nwnsi, mafft_nwns, nwns, print_aligned_fasta
export mafft, mafft_from_string, mafft_linsi, linsi, mafft_ginsi, ginsi, mafft_einsi, einsi, mafft_fftnsi, fftnsi, mafft_fftns, fftns, mafft_nwnsi, nwnsi, mafft_nwns, nwns, print_aligned_fasta, alignment_length

using FastaIO

# calls MAFFT and returns aligned FASTA
# fasta_in: path to FASTA file
# args: optional commandline arguments for MAFFT (array of strings)
" calls MAFFT and returns aligned FASTA
fasta_in: path to FASTA file
args: optional commandline arguments for MAFFT (array of strings) "
function mafft(fasta_in::String, args=["--auto"])
try success(`mafft --version`)
catch
Expand All @@ -21,9 +21,9 @@ export mafft, mafft_from_string, mafft_linsi, linsi, mafft_ginsi, ginsi, mafft_e
return fr
end

# calls MAFFT with the given FASTA string as input and returns aligned FASTA
# fasta_in: FASTA string
# args: optional commandline arguments for MAFFT (array of strings)
" calls MAFFT with the given FASTA string as input and returns aligned FASTA
fasta_in: FASTA string
args: optional commandline arguments for MAFFT (array of strings) "
function mafft_from_string(fasta_in::String, args=["--auto"])
# write to tempfile because mafft can not read from stdin
tempfile_path, tempfile_io = mktemp()
Expand Down

0 comments on commit c92252b

Please sign in to comment.