Skip to content

Commit

Permalink
updated cabal file, updated to pedantic compilation
Browse files Browse the repository at this point in the history
of latest GHC
  • Loading branch information
stschiff committed Apr 18, 2023
1 parent 39b8c0c commit 682c93f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Changelog

- V 1.5.3.1: updated to latest GHC pedantic compilation
- V 1.5.3: Upgraded to sequence-formats 1.7.0 introducing an option for plink popName encoding, and improved pileup-Parsing to allow for skip-reference characters
- V 1.5.2: Fixed a bug with --samplePopName having to be entered after -p or -e. Fixed a bug in the sequence-formats dependency.
- V 1.5.1: Added automatic building
Expand Down
4 changes: 3 additions & 1 deletion sequenceTools.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sequenceTools
version: 1.5.3
version: 1.5.3.1
synopsis: A package with tools for processing DNA sequencing data
description: The tools in this package process sequencing Data, in particular from ancient DNA sequencing libraries. Key tool in this package is pileupCaller, a tool to randomly sample genotypes from sequencing data.
license: GPL-3
Expand All @@ -9,6 +9,8 @@ maintainer: stephan.schiffels@mac.com
category: Bioinformatics
build-type: Simple
cabal-version: >=1.10
Homepage: https://github.com/stschiff/sequenceTools
Bug-Reports: https://github.com/stschiff/sequenceTools/issues
extra-source-files: README.md,
Changelog.md

Expand Down
6 changes: 3 additions & 3 deletions src-executables/pileupCaller.hs
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ outputEigenStratOrPlink outPrefix popName maybePlinkPopMode freqSumProducer = do
RandomCalling -> True
MajorityCalling _ -> True
RandomDiploidCalling -> False
let [snpOut, indOut, genoOut] = case maybePlinkPopMode of
Just _ -> map (outPrefix <>) [".bim", ".fam", ".bed"]
Nothing -> map (outPrefix <>) [".snp", ".ind", ".geno"]
let (snpOut, indOut, genoOut) = case maybePlinkPopMode of
Just _ -> (outPrefix <> ".bim", outPrefix <> ".fam", outPrefix <> ".bed")
Nothing -> (outPrefix <> ".snp", outPrefix <> ".ind", outPrefix <> ".geno")
let indEntries = [EigenstratIndEntry n Unknown popName | n <- sampleNames]
let writeFunc = case maybePlinkPopMode of
Nothing -> (\g s i -> writeEigenstrat g s i indEntries)
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-18.28
resolver: lts-20.17
packages:
- '.'
extra-deps:
Expand Down

0 comments on commit 682c93f

Please sign in to comment.