Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

swh:1:snp:76adc8cf123d92909f09e46db9ddfcbecf4cd1aa
  • Code
  • Branches (12)
  • Releases (0)
    • Branches
    • Releases
    • HEAD
    • refs/heads/azure-macOS
    • refs/heads/low_kmer_sample_check
    • refs/heads/master
    • refs/heads/refactor
    • refs/heads/spacedseeds
    • refs/tags/1.0.0
    • refs/tags/1.0.1
    • refs/tags/1.2.0
    • refs/tags/1.2.1
    • refs/tags/1.2.2
    • refs/tags/v1.1.0
    • refs/tags/v1.1.1
    No releases to show
  • 18355c9
  • /
  • Makefile.am
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
content badge Iframe embedding
swh:1:cnt:0e2d73e8318e2f2253963fa7342af2b4bf31c3ad
directory badge Iframe embedding
swh:1:dir:18355c9de59fe9536286e3538bf1d652c3a15731
revision badge
swh:1:rev:e8d401c263cbfbceb868263157ba2cab277084ca
snapshot badge
swh:1:snp:76adc8cf123d92909f09e46db9ddfcbecf4cd1aa
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: e8d401c263cbfbceb868263157ba2cab277084ca authored by Johnathan Wong on 24 January 2020, 23:25:27 UTC
release 1.2.0 (#37)
Tip revision: e8d401c
Makefile.am
bin_PROGRAMS = ntcard nthll

ntcard_CPPFLAGS = -I$(top_srcdir)/Common

ntcard_SOURCES = \
        Common/Uncompress.cpp \
        Common/Uncompress.h \
        Common/SignalHandler.cpp \
        Common/SignalHandler.h \
        Common/StringUtil.h \
        Common/Fcontrol.cpp \
        Common/Fcontrol.h \
        ntcard.cpp

nthll_CPPFLAGS = -I$(top_srcdir)/Common

nthll_SOURCES = \
        Common/Uncompress.cpp \
        Common/Uncompress.h \
        Common/SignalHandler.cpp \
        Common/SignalHandler.h \
        Common/Fcontrol.cpp \
        Common/Fcontrol.h \
        nthll.cpp

dist_doc_DATA = \
	ChangeLog \
	CITATION.bib \
	LICENSE \
	README.md

EXTRA_DIST= autogen.sh

SUBDIRS = \
        vendor \
        data

test-reads.fq.gz:
	wget https://www.bcgsc.ca/downloads/btl/ntcard/test-reads.fq.gz

test-rna-reads.fq.gz:
	wget https://www.bcgsc.ca/downloads/btl/ntcard/test-rna-reads.fq.gz

test_k12.hist: test-reads.fq.gz
	./ntcard -k 12 -p test test-reads.fq.gz

test-rna_k12.hist: test-rna-reads.fq.gz
	./ntcard -k 12 -p test-rna test-rna-reads.fq.gz

test-gap_k12.hist: test-reads.fq.gz
	./ntcard -k 12 -p test-gap -g 2 test-reads.fq.gz

test-rna-gap_k12.hist: test-rna-reads.fq.gz
	./ntcard -k 12 -p test-rna-gap -g 2 test-rna-reads.fq.gz

check-dna: test_k12.hist
	diff -q test_k12.hist $(srcdir)/data/test_k12.hist.good

check-dna-gap: test-gap_k12.hist
	diff -q test-gap_k12.hist $(srcdir)/data/test-gap_k12.hist.good

check-rna: test-rna_k12.hist
	diff -q test-rna_k12.hist $(srcdir)/data/test_k12.hist.good

check-rna-gap: test-rna-gap_k12.hist
	diff -q test-rna-gap_k12.hist $(srcdir)/data/test-gap_k12.hist.good

check: check-dna check-rna check-dna-gap check-rna-gap

# Check the C++ source code for white-space errors with clang-format.
clang-format:
	for i in ntcard.cpp; do clang-format -style=file $$i >$$i.fixed; done
	for i in ntcard.cpp; do diff -su $$i $$i.fixed && rm -f $$i.fixed; done
	if ls *.fixed; then exit 1; fi

clean-local:
	rm test-reads.fq.gz
	rm test_k12.hist
	rm test-gap_k12.hist
	rm test-rna-reads.fq.gz
	rm test-rna_k12.hist
	rm test-rna-gap_k12.hist

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API