diegozea / MIToS.jl
Showing 1 of 4 files from the diff.
Other files ignored by Codecov
NEWS.md has changed.
Project.toml has changed.

@@ -13,9 +13,26 @@
Loading
13 13
14 14
function _concatenated_col_names(msas...)
15 15
	colnames = String[]
16 -
	for (i, msa) in enumerate(msas)
17 -
		for col in columnnames(msa)
18 -
			push!(colnames, "$(i)_$col")
16 +
	msa_number = 0
17 +
	for msa in msas
18 +
		columns = columnnames(msa)
19 +
		first_col = first(columns)
20 +
		check_msa_change = '_' in first_col
21 +
		previous = ""
22 +
		msa_number += 1
23 +
		for col in columns
24 +
			if check_msa_change
25 +
				fields = split(col, '_')
26 +
				current = first(fields)
27 +
				if current != previous
28 +
					if previous != ""
29 +
						msa_number += 1
30 +
					end
31 +
					previous = string(current)
32 +
				end
33 +
				col = last(fields)
34 +
			end
35 +
			push!(colnames, "$(msa_number)_$col")
19 36
		end
20 37
	end
21 38
	colnames
@@ -148,6 +165,9 @@
Loading
148 165
		_concatenate_annotcolumn(seq_lengths, old_annot...),
149 166
		_concatenate_annotresidue(seq_lengths, seqname_mapping, old_annot...)
150 167
	)
168 +
	if haskey(new_annot.file, "HCat")
169 +
		delete!(new_annot.file, "HCat")
170 +
	end
151 171
	setannotfile!(
152 172
		new_annot, 
153 173
		"HCat", 
Files Coverage
src 89.28%
Project Totals (53 files) 89.28%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading