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

CNV consensus (7 of 6): Remove duplicated coordinates and NULLs #416

Merged
merged 76 commits into from
Jan 10, 2020
Merged
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
3f55855
add to Snakefile
Dec 18, 2019
9a923a3
resolve conflict
Dec 19, 2019
d38289c
Merge remote-tracking branch 'upstream/master'
Jan 4, 2020
3a20aa0
updating fork
Jan 4, 2020
76ebc97
add final consensus merging step
Jan 4, 2020
5cbad49
add column naming
Jan 4, 2020
4804bac
add column naming
Jan 4, 2020
217232c
add column naming
Jan 4, 2020
797bf53
change so that output files doesn't have extra indentation at the end
Jan 4, 2020
98714fa
change so that output files doesn't have extra indentation at the end
Jan 4, 2020
60a143f
Merge branch 'master' into merge_consensus_files
nhatduongnn Jan 5, 2020
9467ad5
changed output path and name
Jan 6, 2020
b52693f
changed output path and name
Jan 6, 2020
9a3ed65
Update analyses/copy_number_consensus_call/Snakefile
nhatduongnn Jan 6, 2020
7c2a454
Update analyses/copy_number_consensus_call/Snakefile
nhatduongnn Jan 6, 2020
e3ad43e
Update analyses/copy_number_consensus_call/Snakefile
nhatduongnn Jan 6, 2020
8979e04
Update analyses/copy_number_consensus_call/Snakefile
nhatduongnn Jan 6, 2020
dd15b95
Update analyses/copy_number_consensus_call/src/scripts/compare_varian…
nhatduongnn Jan 6, 2020
8a2e7aa
Update analyses/copy_number_consensus_call/src/scripts/compare_varian…
nhatduongnn Jan 6, 2020
be894fe
Update analyses/copy_number_consensus_call/Snakefile
nhatduongnn Jan 6, 2020
96ddea1
changed Snakemake, reduced redundancy
Jan 6, 2020
ab76a58
changed Snakemake, reduced redundancy
Jan 6, 2020
0d05ad7
changed minor error
Jan 6, 2020
d8dc0e4
update Snakefile
Jan 6, 2020
d3fba93
add README.md
Jan 7, 2020
0e57d91
Merge branch 'master' into merge_consensus_files
nhatduongnn Jan 7, 2020
20d5cff
Update README.md
nhatduongnn Jan 7, 2020
3f7aabc
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
4899a5d
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
7c7f99b
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
7ca720c
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
e4525bd
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
f7ae54a
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
77f9b09
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
b88d54d
Update README.md
nhatduongnn Jan 7, 2020
399f910
Update README.md
nhatduongnn Jan 7, 2020
cf979a5
Update README.md
nhatduongnn Jan 7, 2020
93dcb9f
add result consensus file
Jan 7, 2020
cdb818f
make changes to analyses/README.md
Jan 7, 2020
ab1ec46
Update analyses/README.md
nhatduongnn Jan 7, 2020
39d2f26
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
c50da32
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
2b5c5bd
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
4b504f2
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
97ed47f
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
08d610d
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
058be07
Update analyses/copy_number_consensus_call/Snakefile
nhatduongnn Jan 7, 2020
ac1b0e7
Update analyses/copy_number_consensus_call/README.md
nhatduongnn Jan 7, 2020
5c3e70b
cut the last column
Jan 7, 2020
007599d
Merge branch 'merge_consensus_files' of https://github.com/fingerfen/…
Jan 7, 2020
61eb681
add the result file with out the last column
Jan 7, 2020
4e14e9d
Merge branch 'master' into merge_consensus_files
nhatduongnn Jan 7, 2020
10586db
Merge branch 'master' into merge_consensus_files
nhatduongnn Jan 7, 2020
52dc3e2
Merge branch 'master' into merge_consensus_files
nhatduongnn Jan 7, 2020
9e35786
Merge branch 'master' into merge_consensus_files
nhatduongnn Jan 8, 2020
b3ee3bd
Merge remote-tracking branch 'upstream/master' into merge_consensus_f…
Jan 8, 2020
62d9472
remove dup and NULLs
Jan 8, 2020
3600063
remove dup and NULLs
Jan 8, 2020
f073aa3
changed output file
Jan 8, 2020
21dc357
Update analyses/copy_number_consensus_call/Snakefile
nhatduongnn Jan 9, 2020
364e827
Update analyses/copy_number_consensus_call/src/scripts/remove_dup_NUL…
nhatduongnn Jan 9, 2020
a0e9d06
Update analyses/copy_number_consensus_call/src/scripts/remove_dup_NUL…
nhatduongnn Jan 9, 2020
5df631b
Update analyses/copy_number_consensus_call/src/scripts/remove_dup_NUL…
nhatduongnn Jan 9, 2020
fd68e79
Update analyses/copy_number_consensus_call/src/scripts/remove_dup_NUL…
nhatduongnn Jan 9, 2020
2a99b62
Merge branch 'master' into remove_dup_NULLs
nhatduongnn Jan 9, 2020
138164d
got rid of space between /t and Biospecimen
Jan 9, 2020
44b820d
Merge branch 'master' into remove_dup_NULLs
jashapiro Jan 9, 2020
dc7bb89
Update analyses/copy_number_consensus_call/src/scripts/remove_dup_NUL…
nhatduongnn Jan 9, 2020
f990b76
Update analyses/copy_number_consensus_call/src/scripts/remove_dup_NUL…
nhatduongnn Jan 9, 2020
7b500c4
Update analyses/copy_number_consensus_call/Snakefile
nhatduongnn Jan 9, 2020
dfec4a1
Merge branch 'master' into remove_dup_NULLs
nhatduongnn Jan 9, 2020
2e82c0b
fix line break
jashapiro Jan 9, 2020
130c22e
Merge branch 'master' into remove_dup_NULLs
jashapiro Jan 9, 2020
f72938a
add new cnv_consensus.tsv
Jan 9, 2020
97d7db9
add new cnv_consensus.tsv
Jan 9, 2020
a7d8da2
Merge branch 'master' into remove_dup_NULLs
jaclyn-taroni Jan 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions analyses/copy_number_consensus_call/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,21 @@ rule merge_all:
dupdel = ["dup", "del"])
output:
## Define the final output file
"results/cnv_consensus.tsv"
"../../scratch/endpoints/all_CNVs_combined.tsv"
shell:
## Add a header to the file and combine all of the files using cat.
"echo -e 'chrom\tstart\tend\tmanta_CNVs\tcnvkit_CNVs\tfreec_CNVs\tCNV_type\tBiospecimen\tfile_names' "
"echo -e 'chrom\tstart\tend\tmanta_CNVs\tcnvkit_CNVs\tfreec_CNVs\tCNV_type\tsample\tfile_names' "
" | cat - {input.bedfiles} "
" | cut -f 1-8 "
" > {output}"

rule clean_output:
input:
script=os.path.join(config["scripts"], "remove_dup_NULL_entries.py"),
cnv_file ="../../scratch/endpoints/all_CNVs_combined.tsv"
output:
"results/cnv_consensus.tsv"
shell:
"python3 {input.script} --file {input.cnv_file} > {output}"


Loading