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

Revision c4aa22e5a5becb9d3aa31f82448f64d3be275e44 authored by Johnathan Wong on 25 September 2020, 23:47:52 UTC, committed by GitHub on 25 September 2020, 23:47:52 UTC
release 1.2.2 (#45)
* release 1.2.2

* ChangeLog: update 1.2.2 date
1 parent ea3be3e
  • Files
  • Changes
  • b2ffbc5
  • /
  • Makefile.am
Raw File Download

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.

  • revision
  • directory
  • content
revision badge
swh:1:rev:c4aa22e5a5becb9d3aa31f82448f64d3be275e44
directory badge
swh:1:dir:b2ffbc5f7b510d16dc7827a8fff994d72cade967
content badge
swh:1:cnt:10d0d2d58b52c965066b1496fa0dcca7f41de4c9

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.

  • revision
  • directory
  • content
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 ...
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-reads.fa: test-reads.fq.gz
	zcat test-reads.fq.gz |sed -n '1~4s/^@/>/p;2~4p' > test-reads.fa

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-fa_k12.hist: test-reads.fa
	./ntcard -k 12 -p test-fa test-reads.fa

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

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

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-fa: test-fa_k12.hist
	diff -q test-fa_k12.hist $(srcdir)/data/test_k12.hist.good

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

check: check-dna check-rna check-fa check-dna-gap check-rna-gap check-fa-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
	rm test-reads.fa
	rm test-fa_k12.hist
	rm test-fa-gap_k12.hist
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, 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— Content policy— Contact— JavaScript license information— Web API