Skip to content

Commit 9b30db4

Browse files
author
Rob Patro
committed
Merge branch 'develop'
2 parents 447ae4e + f166c1e commit 9b30db4

36 files changed

+6267
-566
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,9 @@ endif()
428428
##
429429
# Set the latest version and look for what we need
430430
##
431-
set(Boost_ADDITIONAL_VERSIONS "1.59.0" "1.60.0" "1.61.0" "1.62.0" "1.63.0" "1.64.0" "1.65.0" "1.66.0" "1.67.0" "1.68.0" "1.69.0" "1.70.0" "1.71.0")
431+
set(Boost_ADDITIONAL_VERSIONS "1.59.0" "1.60.0" "1.61.0" "1.62.0" "1.63.0" "1.64.0" "1.65.0" "1.66.0" "1.67.0" "1.68.0" "1.69.0" "1.70.0" "1.71.0" "1.72.0" "1.73.0" "1.74.0" "1.75.0" "1.76.0" "1.77.0" "1.78.0")
432432
if (NOT BOOST_RECONFIGURE)
433-
find_package(Boost 1.59.0 COMPONENTS iostreams filesystem system timer chrono program_options)
433+
find_package(Boost 1.59.0 COMPONENTS iostreams system filesystem timer chrono program_options)
434434
message("BOOST_INCLUDEDIR = ${BOOST_INCLUDEDIR}")
435435
message("BOOST_LIBRARYDIR = ${BOOST_LIBRARYDIR}")
436436
message("Boost_FOUND = ${Boost_FOUND}")
@@ -459,7 +459,7 @@ if(BOOST_RECONFIGURE)
459459
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_SOURCE_DIR}/external/install)
460460
set(Boost_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/external/install/include)
461461
set(Boost_LIBRARY_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/external/install/lib)
462-
find_package(Boost 1.59.0 COMPONENTS iostreams filesystem system timer chrono program_options locale REQUIRED)
462+
find_package(Boost 1.59.0 COMPONENTS iostreams system filesystem timer chrono program_options locale REQUIRED)
463463
set(FETCH_BOOST FALSE)
464464
endif()
465465

current_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
VERSION_MAJOR 1
2-
VERSION_MINOR 6
2+
VERSION_MINOR 7
33
VERSION_PATCH 0

doc/source/alevin.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,8 @@ Single-cell protocol specific notes
187187
In cases where single-cell protocol supports variable length cellbarcodes, alevin adds nucleotide padding to make the lengths uniform.
188188
Furthermore, the padding scheme ensures that there are no collisions added in the process. The padding scheme is as follows:
189189

190-
1. sci-RNA-seq3: The barcode is composed of 9-10 bp hairpin adaptor and 10 bp reverse transcription index making it 19-20 bp long. If
191-
the bacode is 20 bp long, alevin adds `A` and it adds `AC` if it is 19 bp long. Thus, the length of barcode in the output is 21 bp.
192-
2. inDropV2: 8-11 bp barcode1 along with 8 bp barcode2 makes up the barcode. For barcode lengths of 16, 17, 18, and 19 bp, alevin adds
193-
`AAAC`, `AAG`, `AT`, and `A` respectively. Thus, the length of barcode in the output is 20 bp. Furthermore, the position of barcode1 is
194-
dependent on finding exact match of sequence `w1`. If exact match is not found, a search for `w1` is performed allowing a maximum hamming
195-
distance 2 b/w `w1` and read2 substring of w1 length within the required bounds; the first match is returned.
190+
1. sci-RNA-seq3: The barcode is composed of 9-10 bp hairpin adaptor and 10 bp reverse transcription index making it 19-20 bp long. If the bacode is 20 bp long, alevin adds *A* and it adds *AC* if it is 19 bp long. Thus, the length of barcode in the output is 21 bp.
191+
2. inDropV2: 8-11 bp barcode1 along with 8 bp barcode2 makes up the barcode. For barcode lengths of 16, 17, 18, and 19 bp, alevin adds *AAAC*, *AAG*, *AT*, and *A* respectively. Thus, the length of barcode in the output is 20 bp. Furthermore, the position of barcode1 is dependent on finding exact match of sequence ``w1``. If exact match is not found, a search for ``w1`` is performed allowing a maximum hamming distance 2 b/w ``w1`` and read2 substring of w1 length within the required bounds; the first match is returned.
196192

197193
Output
198194
------

doc/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
# built documents.
5656
#
5757
# The short X.Y version.
58-
version = '1.6'
58+
version = '1.7'
5959
# The full version, including alpha/beta/rc tags.
60-
release = '1.6.0'
60+
release = '1.7.0'
6161

6262
# The language for content autogenerated by Sphinx. Refer to documentation
6363
# for a list of supported languages.

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ MAINTAINER [email protected]
66

77
ENV PACKAGES git gcc make g++ libboost-all-dev liblzma-dev libbz2-dev \
88
ca-certificates zlib1g-dev libcurl4-openssl-dev curl unzip autoconf apt-transport-https ca-certificates gnupg software-properties-common wget
9-
ENV SALMON_VERSION 1.6.0
9+
ENV SALMON_VERSION 1.7.0
1010

1111
# salmon binary will be installed in /home/salmon/bin/salmon
1212

docker/build_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#! /bin/bash
2-
SALMON_VERSION=1.6.0
2+
SALMON_VERSION=1.7.0
33
docker build --no-cache -t combinelab/salmon:${SALMON_VERSION} -t combinelab/salmon:latest .

include/FastxParser.hpp

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
#include <thread>
1111
#include <vector>
1212

13-
extern "C" {
14-
#include "kseq.h"
15-
}
13+
#include "kseq++.hpp"
1614

1715
#include "concurrentqueue.h"
1816

@@ -59,27 +57,24 @@ typename _Unique_if<T>::_Known_bound make_unique(Args&&...) = delete;
5957
#endif //__FASTX_PARSER_PRECXX14_MAKE_UNIQUE__
6058

6159
namespace fastx_parser {
62-
struct ReadSeq {
63-
std::string seq;
64-
std::string name;
65-
~ReadSeq() {}
66-
};
6760

68-
struct ReadQual {
69-
std::string seq;
70-
std::string name;
71-
std::string qual;
72-
~ReadQual() {}
73-
};
61+
using ReadSeq = klibpp::KSeq;
62+
using ReadQual = klibpp::KSeq;
7463

64+
// The ReadPair and ReadQualPair are obviously
65+
// redundant. But, having them as separate types
66+
// here would allow us to say something at compile
67+
// time about if we expect to be able to look
68+
// at qualities etc. Think more about if we
69+
// really want to keep both of these.
7570
struct ReadPair {
76-
ReadSeq first;
77-
ReadSeq second;
71+
klibpp::KSeq first;
72+
klibpp::KSeq second;
7873
};
7974

8075
struct ReadQualPair {
81-
ReadQual first;
82-
ReadQual second;
76+
klibpp::KSeq first;
77+
klibpp::KSeq second;
8378
};
8479

8580
template <typename T> class ReadChunk {

include/FastxParserThreadUtils.hpp

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66
#include <pthread.h>
77
#include <random>
88
#include <thread>
9+
910
#if defined(__SSE2__)
10-
#include "simde/x86/sse2.h"
11+
#if defined(HAVE_SIMDE)
12+
#include "simde/x86/sse2.h"
13+
#else
14+
#include <emmintrin.h>
15+
#endif
1116
#endif
1217

1318
// Most of this code is taken directly from
@@ -23,7 +28,11 @@ static const size_t MAX_BACKOFF_ITERS = 1024;
2328

2429
ALWAYS_INLINE static void cpuRelax() {
2530
#if defined(__SSE2__) // AMD and Intel
26-
simde_mm_pause();
31+
#if defined(HAVE_SIMDE)
32+
simde_mm_pause();
33+
#else
34+
_mm_pause();
35+
#endif
2736
#elif defined(__i386__) || defined(__x86_64__)
2837
asm volatile("pause");
2938
#elif defined(__aarch64__)

include/SalmonConfig.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626

2727
namespace salmon {
2828
constexpr char majorVersion[] = "1";
29-
constexpr char minorVersion[] = "6";
29+
constexpr char minorVersion[] = "7";
3030
constexpr char patchVersion[] = "0";
31-
constexpr char version[] = "1.6.0";
31+
constexpr char version[] = "1.7.0";
3232
constexpr uint32_t indexVersion = 5;
3333
constexpr char requiredQuasiIndexVersion[] = "p7";
3434
} // namespace salmon

include/SalmonDefaults.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ namespace defaults {
6161
constexpr const uint32_t maxSMEMOccs{200};
6262
constexpr const bool initUniform{false};
6363
constexpr const uint32_t maxReadOccs{200};
64+
constexpr const uint32_t maxRecoverReadOccs{2500};
6465
constexpr const uint32_t maxOccsPerHit{1000};
6566
constexpr const bool noLengthCorrection{false};
6667
constexpr const bool noEffectiveLengthCorrection{false};
@@ -139,6 +140,8 @@ namespace defaults {
139140
constexpr const bool isCITESeq{false};
140141
constexpr const bool isCELSeq{false};
141142
constexpr const bool isCELSeq2{false};
143+
constexpr const bool isSplitSeqV1{false};
144+
constexpr const bool isSplitSeqV2{false};
142145
constexpr const bool isQuartzSeq2{false};
143146
constexpr const bool isSciSeq3{false};
144147
constexpr const bool noQuant{false};

0 commit comments

Comments
 (0)