Skip to content

Commit b97ea10

Browse files
committed
fixed problem with temp bam file names
1 parent 7e938d1 commit b97ea10

2 files changed

Lines changed: 62 additions & 62 deletions

File tree

ChangeLog.md

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
1-
# NEAT has a new home
2-
NEAT is now a part of the NCSA github and active development will continue here. Please direct issues, comments, and requests to the NCSA issue tracker. Submit pull requests here insead of the old repo.
3-
4-
# NEAT v4.3.1
5-
- Updated parallel module to integrate it into the code more fluidly. We also updated the options section to revise the process and allow for copying of options objects for parallelism run.
6-
7-
# NEAT v4.3
8-
- Added a parallelization module to run NEAT in parallel. We expect this to speed up times. Please let us know if it works for you!
9-
10-
# NEAT v4.2.X
11-
- Several bug fixes
12-
- Removed bin scoring (needs to be updated, and we didn't have time, but we'll bring it back)
13-
- Incremental improvements
14-
15-
# NEAT v4.2
16-
- After several bug fixes that constituted release 4.1 and some minor releases, we are ready to release an overhauled vesion of NEAT 4.0.
17-
- Removed GC bias - it had little to no effect and made implementation nearly impossible
18-
- Removed fasta creation - we had tweaked this a bit but never got any feedback. It may come back if requested.
19-
- Improvements/fixes/full implementations of:
20-
- heterozygosity
21-
- read creation (now with more reads!)
22-
- bam alignment/creation
23-
- bed tool incorporation
24-
25-
-Updated "master" branch to "main." - please update your repo accordingly
26-
# NEAT v4.0
27-
- Rewritten the models. Models generated on old versions of NEAT will have to be redone, due to the restructuring of the codebase. These new models should be smaller and more efficient. We have replicated the previous default models in the new style. There is no straightforward way to convert between these, unfortuantely.
28-
- More flexibility. NEAT should be able to handle a wider variety of ploidies, read lengths, and chromosome sizes.
29-
- Binned quality scores. NEAT now assumes binned quality scores.
30-
- File output flexibility. NEAT now can generate each file type independently. Producing a VCF no longer requires NEAT to save all the caluclations of formulating a BAM, which should make the process more efficient.
31-
- Speedups and improvements
32-
- Across the board improvements to code documentation and style
33-
34-
# NEAT v4.0 - beta
35-
- Rewritten codebase to be modular and pip installable, using the poetry package
36-
- Working on optimizing code and implementing final features
37-
38-
# NEAT v3.1
39-
40-
Bug Fixes:
41-
- Fixed an issue where NEAT could not read in gzipped vcf files
42-
- Fixed a bug where NEAT was assuming a ploidy of 2
43-
- Fixed a bug that was causing NEAT to produce exactly the same reverse strands as forward strands in paired ended mode
44-
- Fixed a bug when reading in some mutation models.
45-
- Added gzipping to all mutation models to maximize their compression
46-
- Fixed some issues with vcf_compare
47-
48-
# NEAT v3.0
49-
- NEAT gen_reads now runs in Python 3 exclusively. The previous, Python 2 version is stored in the repo as v2.0, but will not be undergoing active development.
50-
- Converted sequence objects to Biopython Sequence objects to take advantage of the Biopython library
51-
- Converted cigar strings to lists. Now there are simply a functions that convert a generic cigar string to a list and vice versa.
52-
- Tried to take better advantage of some Biopython libraries, such as for parsing fastas.
53-
- For now, we've eliminated the "Jobs" option and the merge jobs function. We plan to implement multi-threading instead as a way to speed up NEAT's simulation process.
54-
- Added a basic bacterial wrapper that will simulate multiple generations of bacteria based on an input fasta, mutate them and then produce the fastqs, bams, and vcfs for the resultant bacterial population.
55-
56-
For improvements, we have a lot of great ideas for general improvements aimed at better simulating bacteria, but we believe this same improvements will have applications in other species as well.
57-
- Multiploidy - all right this has nothing to do with bacteria specifically, but it is a feature we would like to implement into gen_reads.
58-
- Structural Variants - model large scale structural variants with an eye toward intergenic SVs.
59-
- Transposable Elements - model transposons within the sequence
60-
- Repeat regions - will bring a variety of interesting applications
61-
1+
# NEAT has a new home
2+
NEAT is now a part of the NCSA github and active development will continue here. Please direct issues, comments, and requests to the NCSA issue tracker. Submit pull requests here insead of the old repo.
3+
4+
# NEAT v4.3.1
5+
- Updated parallel module to integrate it into the code more fluidly. We also updated the options section to revise the process and allow for copying of options objects for parallelism run.
6+
7+
# NEAT v4.3
8+
- Added a parallelization module to run NEAT in parallel. We expect this to speed up times. Please let us know if it works for you!
9+
10+
# NEAT v4.2.X
11+
- Several bug fixes
12+
- Removed bin scoring (needs to be updated, and we didn't have time, but we'll bring it back)
13+
- Incremental improvements
14+
15+
# NEAT v4.2
16+
- After several bug fixes that constituted release 4.1 and some minor releases, we are ready to release an overhauled vesion of NEAT 4.0.
17+
- Removed GC bias - it had little to no effect and made implementation nearly impossible
18+
- Removed fasta creation - we had tweaked this a bit but never got any feedback. It may come back if requested.
19+
- Improvements/fixes/full implementations of:
20+
- heterozygosity
21+
- read creation (now with more reads!)
22+
- bam alignment/creation
23+
- bed tool incorporation
24+
25+
-Updated "master" branch to "main." - please update your repo accordingly
26+
# NEAT v4.0
27+
- Rewritten the models. Models generated on old versions of NEAT will have to be redone, due to the restructuring of the codebase. These new models should be smaller and more efficient. We have replicated the previous default models in the new style. There is no straightforward way to convert between these, unfortuantely.
28+
- More flexibility. NEAT should be able to handle a wider variety of ploidies, read lengths, and chromosome sizes.
29+
- Binned quality scores. NEAT now assumes binned quality scores.
30+
- File output flexibility. NEAT now can generate each file type independently. Producing a VCF no longer requires NEAT to save all the caluclations of formulating a BAM, which should make the process more efficient.
31+
- Speedups and improvements
32+
- Across the board improvements to code documentation and style
33+
34+
# NEAT v4.0 - beta
35+
- Rewritten codebase to be modular and pip installable, using the poetry package
36+
- Working on optimizing code and implementing final features
37+
38+
# NEAT v3.1
39+
40+
Bug Fixes:
41+
- Fixed an issue where NEAT could not read in gzipped vcf files
42+
- Fixed a bug where NEAT was assuming a ploidy of 2
43+
- Fixed a bug that was causing NEAT to produce exactly the same reverse strands as forward strands in paired ended mode
44+
- Fixed a bug when reading in some mutation models.
45+
- Added gzipping to all mutation models to maximize their compression
46+
- Fixed some issues with vcf_compare
47+
48+
# NEAT v3.0
49+
- NEAT gen_reads now runs in Python 3 exclusively. The previous, Python 2 version is stored in the repo as v2.0, but will not be undergoing active development.
50+
- Converted sequence objects to Biopython Sequence objects to take advantage of the Biopython library
51+
- Converted cigar strings to lists. Now there are simply a functions that convert a generic cigar string to a list and vice versa.
52+
- Tried to take better advantage of some Biopython libraries, such as for parsing fastas.
53+
- For now, we've eliminated the "Jobs" option and the merge jobs function. We plan to implement multi-threading instead as a way to speed up NEAT's simulation process.
54+
- Added a basic bacterial wrapper that will simulate multiple generations of bacteria based on an input fasta, mutate them and then produce the fastqs, bams, and vcfs for the resultant bacterial population.
55+
56+
For improvements, we have a lot of great ideas for general improvements aimed at better simulating bacteria, but we believe this same improvements will have applications in other species as well.
57+
- Multiploidy - all right this has nothing to do with bacteria specifically, but it is a feature we would like to implement into gen_reads.
58+
- Structural Variants - model large scale structural variants with an eye toward intergenic SVs.
59+
- Transposable Elements - model transposons within the sequence
60+
- Repeat regions - will bring a variety of interesting applications
61+

neat/read_simulator/single_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def read_simulator_single(options: Options):
128128

129129
local_bam_pickle_file = None
130130
if options.produce_bam:
131-
local_bam_pickle_file = options.temp_dir_path / f'{options.output_dir}/{options.output_prefix}_tmp_{contig}_{threadidx}.p.gz'
131+
local_bam_pickle_file = options.temp_dir_path / f'{options.output_prefix}_tmp_{contig}_{threadidx}.p.gz'
132132

133133
if threadidx == 1:
134134
# init_progress_info()

0 commit comments

Comments
 (0)