Skip to content

Commit 3454005

Browse files
authored
Merge pull request #233 from mskcc-omics-workflows/develop
Create neoantigen head branch
2 parents 9e9161e + f88e1cc commit 3454005

2 files changed

Lines changed: 9 additions & 22 deletions

File tree

modules/msk/generatemutfasta/1.2/resources/usr/bin/generateMutFasta.py

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -118,22 +118,9 @@ def main():
118118
n_missing_tx_id += 1
119119

120120
if len(mut.mt_altered_aa) > 5:
121-
id_string = (
122-
str(mut.maf_row["Transcript_ID"])
123-
+ " Variant "
124-
+ str(mut.maf_row["Chromosome"])
125-
+ ":"
126-
+ str(mut.maf_row["Start_Position"])
127-
+ "-"
128-
+ str(mut.maf_row["End_Position"])
129-
+ " Ref:"
130-
+ str(mut.maf_row["Reference_Allele"])
131-
+ " Alt:"
132-
+ str(mut.maf_row["Tumor_Seq_Allele2"])
133-
)
134-
out_fa.write(">" + id_string + "\n")
121+
out_fa.write(">" + mut.identifier_key + "_M\n")
135122
out_fa.write(mut.mt_altered_aa + "\n")
136-
out_WT_fa.write(">" + id_string + "\n")
123+
out_WT_fa.write(">" + mut.identifier_key + "_W\n")
137124
out_WT_fa.write(mut.wt_altered_aa + "\n")
138125

139126
### write out WT/MT CDS + AA for debugging purposes

modules/msk/generatemutfasta/1.2/tests/main.nf.test.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"id": "test",
1111
"single_end": false
1212
},
13-
"test.MUT.sequences.fa:md5,dff338ec438ac75aa674b64ea8e26544"
13+
"test.MUT.sequences.fa:md5,3d2ff66590a4329f9a24e03bdf84e0ab"
1414
]
1515
],
1616
[
@@ -19,16 +19,16 @@
1919
"id": "test",
2020
"single_end": false
2121
},
22-
"test.WT.sequences.fa:md5,51415a40a725a16eaa8f5c51fa43799e"
22+
"test.WT.sequences.fa:md5,4bfcfc4d29d01ddc4108f39350936228"
2323
]
2424
],
2525
"test_generate_mut_fasta.log"
2626
],
2727
"meta": {
2828
"nf-test": "0.9.2",
29-
"nextflow": "25.10.2"
29+
"nextflow": "24.10.5"
3030
},
31-
"timestamp": "2026-01-28T15:30:02.572804474"
31+
"timestamp": "2026-02-09T15:03:37.884362"
3232
},
3333
"generatemutfasta_1.2 - maf - fasta - stub": {
3434
"content": [
@@ -96,9 +96,9 @@
9696
}
9797
],
9898
"meta": {
99-
"nf-test": "0.9.3",
100-
"nextflow": "25.10.2"
99+
"nf-test": "0.9.2",
100+
"nextflow": "24.10.5"
101101
},
102-
"timestamp": "2025-12-18T16:08:27.448965"
102+
"timestamp": "2026-02-09T15:03:51.569621"
103103
}
104104
}

0 commit comments

Comments
 (0)