-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tdayris
committed
Jul 9, 2024
1 parent
7f89506
commit b743f27
Showing
12 changed files
with
255 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
rule fair_genome_indexer_salmon_decoy_sequences: | ||
input: | ||
transcriptome=lambda wildcards: get_transcripts_fasta(wildcards), | ||
genome=lambda wildcards: get_dna_fasta(wildcards), | ||
output: | ||
gentrome=temp("reference/sequences/{species}.{build}.{release}.gentrome.fasta"), | ||
decoys=temp("reference/sequences/{species}.{build}.{release}.decoys.txt"), | ||
threads: 2 | ||
resources: | ||
mem_mb=lambda wildcards, attempt: 512 * attempt, | ||
runtime=lambda wildcards, attempt: 25 * attempt, | ||
tmpdir=tmp, | ||
log: | ||
"logs/fair_genome_indexer_salmon_decoy_sequences/{species}.{build}.{release}.log", | ||
benchmark: | ||
"benchmark/fair_genome_indexer_salmon_decoy_sequences/{species}.{build}.{release}.tsv" | ||
wrapper: | ||
f"{snakemake_wrappers_prefix}/bio/salmon/decoys" | ||
|
||
|
||
rule fair_genome_indexer_salmon_index_gentrome: | ||
input: | ||
sequences="reference/sequences/{species}.{build}.{release}.gentrome.fasta", | ||
decoys="reference/sequences/{species}.{build}.{release}.decoys.txt", | ||
output: | ||
temp( | ||
multiext( | ||
"reference/salmon_index/{species}.{build}.{release}/{species}.{build}.{release}/", | ||
"complete_ref_lens.bin", | ||
"ctable.bin", | ||
"ctg_offsets.bin", | ||
"duplicate_clusters.tsv", | ||
"info.json", | ||
"mphf.bin", | ||
"pos.bin", | ||
"pre_indexing.log", | ||
"rank.bin", | ||
"refAccumLengths.bin", | ||
"ref_indexing.log", | ||
"reflengths.bin", | ||
"refseq.bin", | ||
"seq.bin", | ||
"versionInfo.json", | ||
) | ||
), | ||
threads: 20 | ||
resources: | ||
mem_mb=lambda wildcards, attempt: 48 * 1024 * attempt, | ||
runtime=lambda wildcards, attempt: 50 * attempt, | ||
tmpdir=tmp, | ||
log: | ||
"logs/fair_genome_indexer_salmon_index_gentrome/{species}.{build}.{release}.log", | ||
benchmark: | ||
"benchmark/fair_genome_indexer_salmon_index_gentrome/{species}.{build}.{release}.tsv" | ||
params: | ||
extra=lookup_config( | ||
dpath="params/fair_genome_indexer_salmon_index_gentromee", default="" | ||
), | ||
wrapper: | ||
f"{snakemake_wrappers_prefix}/bio/salmon/index" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
rule fair_genome_indexer_star_index: | ||
input: | ||
fasta=lambda wildcards: select_fasta(wildcards), | ||
fai=lambda wildcards: select_fai(wildcards), | ||
output: | ||
directory("reference/star_index/{species}.{build}.{release}.{datatype}"), | ||
threads: 20 | ||
resources: | ||
mem_mb=lambda wildcards, attempt: attempt * 5_000 + 45_000, | ||
runtime=lambda wildcards, attempt: attempt * 30 + 60, | ||
tmpdir=tmp, | ||
log: | ||
"logs/fair_genome_indexer_star_index/{species}.{build}.{release}.{datatype}/index.log", | ||
benchmark: | ||
"benchmark/fair_genome_indexer_star_index/{species}.{build}.{release}.{datatype}/index.tsv" | ||
params: | ||
extra=lookup_config( | ||
dpath="params/fair_genome_indexer_star_index", | ||
default="", | ||
), | ||
wrapper: | ||
f"{snakemake_wrappers_prefix}/bio/star/index" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.