GithubHelp home page GithubHelp logo

droeatumn / kpi Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 6.0 10.81 MB

Structural interpretation of Killer cell immunoglobulin-like Receptors (KIR) haplotypes from raw short or long read sequences. It predicts the presence/absence of 16 KIR genes and then uses that to predict pairs of structural (gene-content and order) haplotypes.

License: GNU General Public License v3.0

Dockerfile 2.91% Nextflow 18.86% Groovy 78.23%
dna-sequences genetics immunity kir nk

kpi's People

Contributors

droe-nmdp avatar droeatumn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kpi's Issues

Missing output file(s) `*_hits.txt` expected by process `makeKmerDB (1)`

Dear Dave Roe,

I am struggling with this issue, the input fastqs are present. I believe something wrong goes in the kmc_tools part as it doesn't generate a file which is used in the next substep

./main.nf --id FND00001567 --raw /kpi/input/ --output /kpi/output/

N E X T F L O W ~ version 22.04.3
Launching ./main.nf [happy_austin] DSL1 - revision: b4644491c2
executor > local (1)
[78/788d62] process > makeKmerDB (1) [100%] 1 of 1, failed: 1 โœ˜
[- ] process > db2Locus -
[- ] process > hapInterp -
Error executing process > 'makeKmerDB (1)'

Caused by:
Missing output file(s) *_hits.txt expected by process makeKmerDB (1)

Command executed:

export JAVA_OPTS='-Xmx200g'
./probeFastqsKMC.groovy -d FND00001567 -p input -o . -w . 2> probeFastqsKMC.log
./filterMarkersKMC2.groovy -d . -p markers -o . -w . 2> filterMarkersKMC2.log
find . -type f -size 0 | xargs rm # remove 0 length files, especially hits.txt files

Command exit status:
0

Command output:
(empty)

Work dir:
/kpi/work/78/788d62945d51b8b2fa782cb5b64a42

Tip: when you have fixed the problem you can continue the execution adding the option -resume to the run command line

hanging

If the app hangs, a work around is to enter the container and run the workflow.
e.g., docker run --rm -it -v $PWD/input:/opt/kpi/raw -v $PWD/output:/opt/kpi/output/ droeatumn/kpi:latest /bin/bash

Then

cd /opt/kpi/raw
./main.nf --id <id>

remove/improve coverage limit of 254

The kmer counting program has a limit of 255. kmers occurring 255 or more are considered off-kir. In general, coverage shouldn't be too high, because then errors can start looking like non-errors. The work around is to down-sample the input data.

This limit should be addressed and removed. Ideally, it would learn the correct min/max counts based on the input.

Not able to go beyond makeKmerDB, please help

./main.nf --id id1 --raw ./input --output ./output
N E X T F L O W ~ version 22.10.7
Launching ./main.nf [sad_poitras] DSL1 - revision: bb0bf38dd6
executor > local (1)
[3b/c1ca2c] process > makeKmerDB (1) [100%] 1 of 1, failed: 1 โœ˜
[- ] process > db2Locus -
[- ] process > hapInterp -
Error executing process > 'makeKmerDB (1)'

Caused by:
Process makeKmerDB (1) terminated with an error exit status (1)

Command executed:

export JAVA_OPTS='-Xmx200g'
./probeFastqsKMC.groovy -d id1 -p input -t fq -o . -w . 2> probeFastqsKMC.log
./filterMarkersKMC2.groovy -d . -p markers -o . -w . 2> filterMarkersKMC2.log
find . -type f -size 0 | xargs rm # remove 0 length files, especially hits.txt files

Command exit status:
1

Command output:
(empty)

Work dir:
/home/archaemenes/software/KPI/kpi/work/3b/c1ca2c39110386c48b83daad7c34e1

Tip: when you have fixed the problem you can continue the execution adding the option -resume to the run command line

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.