Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #256 from vib-singlecell-nf/feature/255-reformat_p…
Browse files Browse the repository at this point in the history
…opscle_inputs

Feature/255 reformat popscle inputs

Former-commit-id: 4dd5d9b
  • Loading branch information
cflerin authored Dec 1, 2020
2 parents d4febe7 + 499a663 commit 401c14c
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 61 deletions.
52 changes: 33 additions & 19 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -833,8 +833,9 @@ workflow cellranger_count_libraries {

workflow cellranger_count_demuxlet {
include {
demuxlet as DEMUXLET;
} from './workflows/popscle' params(params)
cellranger_output_to_bam_barcodes;
DEMUXLET;
} from './src/popscle/workflows/demuxlet.nf' params(params)
include {
SC__CELLRANGER__COUNT as CELLRANGER_COUNT;
} from './src/cellranger/processes/count'
Expand Down Expand Up @@ -862,23 +863,30 @@ workflow cellranger_count_demuxlet {
params.sc.cellranger.count.transcriptome,
fastq_data
)
DEMUXLET(data)
cellranger_output_to_bam_barcodes(data) |
DEMUXLET
}

workflow freemuxlet {
include {
freemuxlet as FREEMUXLET;
} from './workflows/popscle' params(params)
cellranger_output_to_bam_barcodes;
FREEMUXLET;
} from './src/popscle/workflows/demuxlet.nf' params(params)

getDataChannel | FREEMUXLET
getDataChannel |
cellranger_output_to_bam_barcodes |
FREEMUXLET
}

workflow demuxlet {
include {
demuxlet as DEMUXLET;
} from './workflows/popscle' params(params)
include {
cellranger_output_to_bam_barcodes;
DEMUXLET;
} from './src/popscle/workflows/demuxlet.nf' params(params)

getDataChannel | DEMUXLET
getDataChannel |
cellranger_output_to_bam_barcodes |
DEMUXLET
}

// runs mkfastq, CellRanger count, then single_sample:
Expand Down Expand Up @@ -918,16 +926,18 @@ workflow cellranger_multi_sample_demuxlet {
multi_sample as MULTI_SAMPLE;
} from './workflows/multi_sample' params(params)
include {
demuxlet as DEMUXLET;
} from './workflows/popscle' params(params)
cellranger_output_to_bam_barcodes;
DEMUXLET;
} from './src/popscle/workflows/demuxlet.nf' params(params)

data = cellranger()
MULTI_SAMPLE(
data.map {
tuple(it[0], it[1], "10x_cellranger_mex", "h5ad")
}
)
DEMUXLET(data)
cellranger_output_to_bam_barcodes(data) |
DEMUXLET

}

Expand All @@ -951,16 +961,18 @@ workflow cellranger_libraries_freemuxlet_multi_sample {
multi_sample as MULTI_SAMPLE;
} from './workflows/multi_sample' params(params)
include {
freemuxlet as FREEMUXLET;
} from './workflows/popscle' params(params)
cellranger_output_to_bam_barcodes;
FREEMUXLET;
} from './src/popscle/workflows/demuxlet.nf' params(params)

data = cellranger_libraries()
MULTI_SAMPLE(
data.map {
tuple(it[0], it[1], "10x_cellranger_mex", "h5ad")
}
)
FREEMUXLET(data)
cellranger_output_to_bam_barcodes(data) |
FREEMUXLET

}

Expand All @@ -970,16 +982,18 @@ workflow cellranger_libraries_demuxlet_multi_sample {
multi_sample as MULTI_SAMPLE;
} from './workflows/multi_sample' params(params)
include {
demuxlet as DEMUXLET;
} from './workflows/popscle' params(params)
cellranger_output_to_bam_barcodes;
DEMUXLET;
} from './src/popscle/workflows/demuxlet.nf' params(params)

data = cellranger_libraries()
MULTI_SAMPLE(
data.map {
tuple(it[0], it[1], "10x_cellranger_mex", "h5ad")
}
)
DEMUXLET(data)
cellranger_output_to_bam_barcodes(data) |
DEMUXLET
}

workflow star {
Expand Down
2 changes: 1 addition & 1 deletion src/popscle
41 changes: 0 additions & 41 deletions workflows/popscle.nf

This file was deleted.

0 comments on commit 401c14c

Please sign in to comment.