Skip to content

Commit

Permalink
Fixed bug causing output files to not strictly adhere to SAM/BAM form…
Browse files Browse the repository at this point in the history
…at. Prepared for next release.
  • Loading branch information
Steven Wingett committed Jan 15, 2019
1 parent 6a28cca commit 12431fc
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Conversion/hicup2fithic
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use Data::Dumper;

###################################################################################
###################################################################################
##This file is Copyright (C) 2016, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down
2 changes: 1 addition & 1 deletion Conversion/hicup2gothic
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use hicup_module;

###################################################################################
###################################################################################
##This file is Copyright (C) 2016, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down
2 changes: 1 addition & 1 deletion Conversion/hicup2hicpipe
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use hicup_module;

###################################################################################
###################################################################################
##This file is Copyright (C) 2016, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down
2 changes: 1 addition & 1 deletion Conversion/hicup2homer
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use hicup_module;

###################################################################################
###################################################################################
##This file is Copyright (C) 2016, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down
10 changes: 5 additions & 5 deletions Documentation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Use a text editor to edit the configuration file as required, such as in the fol
Longest: 700

#Minimum di-tag length (optional parameter)
Shortest: 100
Shortest: 50

#FASTQ files to be analysed, placing paired files on adjacent lines
s_1_1_sequence.txt
Expand Down Expand Up @@ -263,10 +263,10 @@ The designated configuration file sets the parameters for the whole pipeline. Th
Format: Sanger

#Maximum di-tag length (optional parameter)
Longest: 800
Longest: 700

#Minimum di-tag length (optional parameter)
Shortest: 150
Shortest: 50

#FASTQ files to be analysed, placing paired files on adjacent lines
s_1_1_sequence.txt
Expand Down Expand Up @@ -721,8 +721,8 @@ Example command:
Index: [Path to Bowtie/Bowtie2 indices on your system]
R: [Path to R on your system]
Format: phred33-quals
Shortest: 150
Longest: 800
Shortest: 50
Longest: 700
test_dataset1.fastq
test_dataset2.fastq

Expand Down
9 changes: 9 additions & 0 deletions RELEASE_NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
RELEASE NOTES FOR HICUP V0.7.2 (15 January 2018)
------------------------------------------------

HiCUP v0.7.2 is a minor update incorporating the changes described below:

-Fixed bug causing output files to not strictly adhere to SAM/BAM format.



RELEASE NOTES FOR HICUP V0.7.1 (12 November 2018)
-------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion config_files/filter_example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Digest: Digest_human7_HindIII_None_15-42-00_14-08-2013.txt


#Minimum allowable di-tag size (optional)
Shortest: 100
Shortest: 50


#Maximum allowable di-tag size (optional)
Expand Down
2 changes: 1 addition & 1 deletion config_files/hicup_example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Longest: 700


#Minimum di-tag length (optional parameter)
Shortest: 100
Shortest: 50


#FASTQ files to be analysed, placing paired files on adjacent lines
Expand Down
7 changes: 5 additions & 2 deletions hicup
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use Data::Dumper;

###################################################################################
###################################################################################
##This file is Copyright (C) 2018, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down Expand Up @@ -331,7 +331,10 @@ if ( $config{zip} ) {
#Map and pair sequences
my $ligation = "\@PG\tID:HiCUP Truncater\tVN:" . $hicup_module::VERSION; #Create the hidden ligation flag to send to HiCUP mapper to print the hicup_truncation settings to the output file
if ( $config{re1} ) {
$ligation = $ligation . "\tDS:\"" . "$config{re1}\"";
#We cannot have a ":" in the SAM header at this point, so remove it
my $colonless_re1 = $config{re1};
$colonless_re1 =~ s/://g;
$ligation = $ligation . "\tDS:\"" . "$colonless_re1\"";
} else {
$ligation = $ligation . "\tDS\"" . "Ligation junction sequences $config{sequence}\"";
}
Expand Down
2 changes: 1 addition & 1 deletion hicup_deduplicator
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use Data::Dumper;

###################################################################################
###################################################################################
##This file is Copyright (C) 2018, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down
2 changes: 1 addition & 1 deletion hicup_digester
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use Data::Dumper;

###################################################################################
###################################################################################
##This file is Copyright (C) 2018, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down
2 changes: 1 addition & 1 deletion hicup_filter
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use Data::Dumper;

###################################################################################
###################################################################################
##This file is Copyright (C) 2018, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down
2 changes: 1 addition & 1 deletion hicup_mapper
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use Data::Dumper;

###################################################################################
###################################################################################
##This file is Copyright (C) 2018, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down
4 changes: 2 additions & 2 deletions hicup_module.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ our @EXPORT = qw(VERSION hasval deduplicate_array checkR process_config check_fi
our @EXPORT_OK = qw(hashVal outdirFileNamer check_no_duplicate_filename check_filenames_ok
checkAligner checkAlignerIndices newopen quality_checker determineAlignerFormat);

our $VERSION = "0.7.1";
our $VERSION = "0.7.2";

use Data::Dumper;
use strict;
Expand All @@ -19,7 +19,7 @@ use lib $Bin;

###################################################################################
###################################################################################
##This file is Copyright (C) 2018, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down
2 changes: 1 addition & 1 deletion hicup_truncater
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use Data::Dumper;

###################################################################################
###################################################################################
##This file is Copyright (C) 2018, Steven Wingett ([email protected])##
##This file is Copyright (C) 2019, Steven Wingett ([email protected])##
## ##
## ##
##This file is part of HiCUP. ##
Expand Down

0 comments on commit 12431fc

Please sign in to comment.