Skip to content

Commit

Permalink
Remove gaps from FastA when cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Dec 23, 2024
1 parent 8c64843 commit d700d4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/miga/common/format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def clean_fasta_file(file, min_len = 1)
end
next_seq = [">#{id.gsub(/[^A-Za-z0-9_\|\.]/, '_')}#{df}", '']
else
next_seq[1] += ln.gsub(/[^A-Za-z\.\-]/, '')
next_seq[1] += ln.gsub(/[^A-Za-z]/, '')
end
end
if next_seq[1].length >= min_len
Expand Down
2 changes: 1 addition & 1 deletion lib/miga/daemon/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def skip_maintenance

##
# Returns the running option +opt+ in jobs for +what+. +what+ can be
# +:dataset+ or +:projects+
# +:dataset+ or +:project+
def runopts_for(opt, what)
runopts(:"#{opt}_#{what}") || runopts(opt)
end
Expand Down
4 changes: 2 additions & 2 deletions lib/miga/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ module MiGA
# - String indicating release status:
# - rc* release candidate, not released as gem
# - [0-9]+ stable release, released as gem
VERSION = [1.3, 21, 3].freeze
VERSION = [1.3, 21, 4].freeze

##
# Nickname for the current major.minor version.
VERSION_NAME = 'mezzotint'

##
# Date of the current gem relese.
VERSION_DATE = Date.new(2024, 9, 28)
VERSION_DATE = Date.new(2024, 12, 23)

##
# References of MiGA
Expand Down

0 comments on commit d700d4d

Please sign in to comment.