Skip to content

Commit 7af6a32

Browse files
Wycięcie multi-fasta-split.
Wycięcie > z nazw w log duplikatów
1 parent 8e26c9d commit 7af6a32

File tree

6 files changed

+3
-473
lines changed

6 files changed

+3
-473
lines changed

makefile

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
all: mfasta-tool multi-fasta-split
1+
all: mfasta-tool
22

33
# *** REFRESH makefile utils
44
include refresh.mk
@@ -36,19 +36,8 @@ endif
3636

3737
# *** Source files and rules
3838
$(eval $(call PREPARE_DEFAULT_COMPILE_RULE,MFASTA_TOOL,mfasta-tool))
39-
$(eval $(call PREPARE_DEFAULT_COMPILE_RULE,MULTI_FASTA_SPLIT,multi-fasta-split))
4039

4140
# *** Targets
42-
multi-fasta-split: $(OUT_BIN_DIR)/multi-fasta-split
43-
44-
$(OUT_BIN_DIR)/multi-fasta-split: $(GZ_TARGET) mimalloc_obj libdeflate \
45-
$(OBJ_MULTI_FASTA_SPLIT)
46-
-mkdir -p $(OUT_BIN_DIR)
47-
$(CXX) -o $@ \
48-
$(MIMALLOC_OBJ) \
49-
$(OBJ_MULTI_FASTA_SPLIT) \
50-
$(LIBRARY_FILES) $(LINKER_FLAGS) $(LINKER_DIRS)
51-
5241
mfasta-tool: $(OUT_BIN_DIR)/mfasta-tool
5342

5443
$(OUT_BIN_DIR)/mfasta-tool: $(GZ_TARGET) mimalloc_obj libdeflate \

ref-utils.sln

-21
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mfasta-tool", "src\mfasta-t
1212
{153220B9-5A09-4C86-886D-3CA399125A45} = {153220B9-5A09-4C86-886D-3CA399125A45}
1313
EndProjectSection
1414
EndProject
15-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multi-fasta-split", "src\multi-fasta-split\multi-fasta-split.vcxproj", "{6A85A95A-ECEE-4853-982D-9B740903C19B}"
16-
ProjectSection(ProjectDependencies) = postProject
17-
{153220B9-5A09-4C86-886D-3CA399125A45} = {153220B9-5A09-4C86-886D-3CA399125A45}
18-
EndProjectSection
19-
EndProject
2015
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_prebuild", "src\_prebuild\_prebuild.vcxproj", "{153220B9-5A09-4C86-886D-3CA399125A45}"
2116
EndProject
2217
Global
@@ -79,22 +74,6 @@ Global
7974
{8EC48DCD-BCB8-4898-AA4B-B9308ECBF615}.RelWithDebInfo|x64.Build.0 = Release|x64
8075
{8EC48DCD-BCB8-4898-AA4B-B9308ECBF615}.RelWithDebInfo|x86.ActiveCfg = Release|Win32
8176
{8EC48DCD-BCB8-4898-AA4B-B9308ECBF615}.RelWithDebInfo|x86.Build.0 = Release|Win32
82-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.Debug|x64.ActiveCfg = Debug|x64
83-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.Debug|x64.Build.0 = Debug|x64
84-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.Debug|x86.ActiveCfg = Debug|Win32
85-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.Debug|x86.Build.0 = Debug|Win32
86-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.MinSizeRel|x64.ActiveCfg = Debug|x64
87-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.MinSizeRel|x64.Build.0 = Debug|x64
88-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.MinSizeRel|x86.ActiveCfg = Debug|Win32
89-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.MinSizeRel|x86.Build.0 = Debug|Win32
90-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.Release|x64.ActiveCfg = Release|x64
91-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.Release|x64.Build.0 = Release|x64
92-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.Release|x86.ActiveCfg = Release|Win32
93-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.Release|x86.Build.0 = Release|Win32
94-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.RelWithDebInfo|x64.ActiveCfg = Release|x64
95-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.RelWithDebInfo|x64.Build.0 = Release|x64
96-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.RelWithDebInfo|x86.ActiveCfg = Release|Win32
97-
{6A85A95A-ECEE-4853-982D-9B740903C19B}.RelWithDebInfo|x86.Build.0 = Release|Win32
9877
{153220B9-5A09-4C86-886D-3CA399125A45}.Debug|x64.ActiveCfg = Debug|x64
9978
{153220B9-5A09-4C86-886D-3CA399125A45}.Debug|x64.Build.0 = Debug|x64
10079
{153220B9-5A09-4C86-886D-3CA399125A45}.Debug|x86.ActiveCfg = Debug|Win32

src/mfasta-tool/sha256_filter.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class CSHA256Filter
214214
{
215215
if (is_first)
216216
{
217-
ofs << di.second;
217+
ofs << string_view(di.second.begin() + 1, di.second.end());
218218
is_first = false;
219219
is_first_fwd = di.first;
220220
}
@@ -223,7 +223,7 @@ class CSHA256Filter
223223
ofs << " ";
224224
if (mark_duplicates_orientation)
225225
ofs << ((is_first_fwd ^ di.first) ? "+" : "-");
226-
ofs << di.second;
226+
ofs << string_view(di.second.begin() + 1, di.second.end());
227227
}
228228
}
229229

src/multi-fasta-split/multi-fasta-split.cpp

-263
This file was deleted.

0 commit comments

Comments
 (0)