Skip to content

Commit

Permalink
v1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasrausch committed Dec 6, 2024
1 parent 9f538e4 commit 4984ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modvcf.h
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ vcfParse(TConfig const& c, bam_hdr_t* hd, std::vector<TStructuralVariantRecord>&

template<typename TConfig, typename TStructuralVariantRecord, typename TJunctionCountMap, typename TReadCountMap, typename TCountMap>
inline void
vcfOutput(TConfig const& c, std::vector<TStructuralVariantRecord>& svs, TJunctionCountMap const& jctCountMap, TReadCountMap const& readCountMap, TCountMap const& spanCountMap)
vcfOutput(TConfig const& c, std::vector<TStructuralVariantRecord> const& svs, TJunctionCountMap const& jctCountMap, TReadCountMap const& readCountMap, TCountMap const& spanCountMap)
{
// BoLog class
BoLog<double> bl;
Expand Down Expand Up @@ -416,7 +416,7 @@ vcfOutput(TConfig const& c, std::vector<TStructuralVariantRecord>& svs, TJunctio
now = boost::posix_time::second_clock::local_time();
std::cerr << '[' << boost::posix_time::to_simple_string(now) << "] " << "Genotyping" << std::endl;
bcf1_t *rec = bcf_init();
for(typename TSVs::iterator svIter = svs.begin(); svIter!=svs.end(); ++svIter) {
for(typename TSVs::const_iterator svIter = svs.begin(); svIter!=svs.end(); ++svIter) {
if ((svIter->srSupport == 0) && (svIter->peSupport == 0)) continue;
// In discovery mode, skip SVs that have less than 2 reads support after genotyping
if (!c.hasVcfFile) {
Expand Down

0 comments on commit 4984ff2

Please sign in to comment.